From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,8be18979db11f51c X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,fb631c9316319fef X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-02-28 19:36:04 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!skynet.be!newsfeed2.news.nl.uu.net!sun4nl!not-for-mail Message-ID: <3A9DC2F3.E74DA5E4@infopuls.com> Date: Thu, 01 Mar 2001 03:33:07 +0000 From: Christof Brass Organization: InfoPuls X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.0.36 i586) X-Accept-Language: de MIME-Version: 1.0 Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: Drop C/C++ better sooner than later References: <97cd06$hcn$1@pyrite.mv.net> <97egck$vc6$3@info.cs.uofs.edu> <3A9AEFCD.AFC8431@infopuls.com> <97etsu$j41$1@pyrite.mv.net> <3A9B023A.CBD414A5@infopuls.com> <3A9C2B88.8032D829@infopuls.com> <97j1jq$g00$1@info.cs.uofs.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cache-Post-Path: fuchs.cyberlink.ch!unknown@193.247.146.165 X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) NNTP-Posting-Host: 193.246.253.18 X-Trace: 983417466 news.ch.uu.net 178 193.246.253.18 Xref: supernews.google.com comp.os.vms:20639 comp.sys.dec:2949 Bill Gunshannon wrote: > > In article , > "Rick Cadruvi" writes: [SNIP] > |> > |> 4. Use of "==" for compares. It's WAY too easy to put in "=" > |> instead. In fact, I usually do a specialized search of ALL > |> my code before the first compile just to try and catch these. > > Well, you need two symbols for "equals", comparison and assignment. > That is what the "=" means. Anything else would be non-intuitve. > Question: What does ":" have to do with equality?? And yes, when ":" has nothing to do with equality - also in Pascal ":" has nothing to do with equality. a := 5 is an assignment. > we used to use Pascal as our beginning language here one of the most > common coding errors was leaving out those pesky ":". Using double Using Pascal as your beginning language would not lead to this mistake because you learned it that way. > "=" for comparison is very intuitve when you consider that every > other comparison that involves equality consists of a digraph with > at least one "=". (ie. ">=", "<=", "!=") For every educated person this is completely counter intuitive because you never use two characters for comparison operators if you write them by hand e.g. <, =, >, <_ (as one character, or <= as one) a.s.o. > > |> > |> My ideal language would probably be mostly a combination of BLISS and C. > > There is no such thing as "the ideal language". Ada was an attempt to > create (by committee no less!) a language that could be used for everything. > The result is a bloated monster that requires so much in resources that > it was never practical for small machines (and even some large ones like > PDP-11's). Most languages were created to fill a discovered need at the > time of their creation. A big part of Systems Analysis is identifying the > problem accurately and then picking the right tool for the job. Everything > is not a nail so you need more in your toolbox than a hammer. Unfortunately there are some stone aged tools around which don't make any sense in a world of micro chips. [SNIP] > This I don't agree with. In most cases, the actual coding is the smallest > part of the project. (at least well designed projects) It takes no longer > for an experienced C programmer to code a task in C than it would take an > experienced Ada programmer to do it in Ada. And believe it or not, regardless > of the language used, programmers of the same level of experience will make > an equivalent number of mistakes. It isn't the language that makes the > mistakes. You are completely wrong according to practice and statistics. Read the material available in the Web e.g. from Rational. > |> Progrmaming Languages are just part of the tool set programmers use to solve > |> problems. What we really do is we solve problems. The code writing is > |> merely > |> a clerical function through which we express those solutions. > > True. > > All the best. > > bill > > -- > Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves > bill@cs.scranton.edu | and a sheep voting on what's for dinner. > University of Scranton | > Scranton, Pennsylvania | #include