From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ea8ea502d35ca2ce X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-09 09:06:29 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!isdnet!psinet-france!psiuk-f4!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Beginner's Language? Date: Wed, 9 May 2001 11:53:46 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9dbp6c$25k$1@nh.pace.co.uk> References: <9cukad$nn68@news-dxb> <9d6b6e$1bt$1@nh.pace.co.uk> <87snihxiwc.fsf@frown.here> <9dbi83$sji$1@nh.pace.co.uk> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 989423628 2228 136.170.200.133 (9 May 2001 15:53:48 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 9 May 2001 15:53:48 GMT X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: newsfeed.google.com comp.lang.ada:7380 Date: 2001-05-09T15:53:48+00:00 List-Id: (Something is wrong with how this exists in my newsreader. How did this resolve to a single newsgroup called "iso-8859-1"??? I'm posting it to Comp.Lang.Ada where I know it exists, but I don't want to spam a bunch of other groups if it isn't in context there...) "Ola Rinta-Koski" wrote in message news:x58zk6zjv8.fsf@arenal.cyberell.com... > (let ((foo 0)) > (dotimes (i 5) > (incf foo (read))) > foo) > Native language and verbosity issues being separate, it seems to me that something like this is a more readable, more easily comprehended example: with Ada.Text_IO ; with Ada.Integer_Text_IO ; use Ada.Text_IO ; use Ada.Integer_Text_IO ; procedure Example is X : Integer ; Y : Integer ; begin Put_Line ("Hello World!") ; Put_Line ("Enter a number") ; Get (X) ; Put_Line ("Enter another number") ; Get (Y) ; Put_Line ("The Sum Is") ; Put (X + Y) ; end Example ; The statements are in plain English and one can readily guess at what they do. It is also more representative of how most other languages would do the same thing. (The structure would not be substantially different in C or Java or a large number of other languages.) I guess what is intuitively obvious to the casual observer is going to depend on who is the casual observer. I've never found Lisp to be particularly readable or easily comprehendable. I know numerous other programmers who feel the same way. If you use Lisp on a regular basis, I suppose it gets to looking "intuitively obvious" to you after a while. I wouldn't ban the teaching of Lisp in a CS program, but I wouldn't make it the FIRST language taught. I must not be alone in that thinking because I know of many universities that offer courses that use Lisp, but they don't start their students off with it. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/