Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion C# is not Dylan (was: Re: C# : The new language from M$)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
vsync  
View profile  
 More options Jul 4 2000, 3:00 am
Newsgroups: comp.lang.lisp
From: vsync <vs...@quadium.net>
Date: 2000/07/04
Subject: Re: C# is not Dylan (was: Re: C# : The new language from M$)

gj...@g.local (Gareth McCaughan) writes:
> Some Lispers detest LOOP. I'm glad it's there, because it's
> a great tool for expressing simple iterations simply. (Most
> iterations are simple. Hairy ones are tricky to understand
> whatever language you express them in.)

I detest LOOP.  The whole point of Lisp IMO is the parens and the
prefix notation.  Why screw that up with some weird English-like
thingie that just looks _wrong_?  As to simple and complex iterations,
I don't find using MAPCAR or DOLIST or just plain DO to be hard to
understand.  I just spend 5 minutes reading the manual _before_ I try
something for the first time.

> Note that the Lisp versions also isolate the binding of the
> loop variable to within the loop, which is usually what you
> want. Doing that in C requires more braces and an extra
> declaration.

Java (and C++ IIRC) let you do this:

  for (int i = 0; i < MAX_SIZE; i++)
    do_something_with(i);

i is only within the scope of that loop.

--
vsync
http://quadium.net/ - last updated Fri Jun 30 22:55:16 MDT 2000
(cons (cons (car (cons 'c 'r)) (cdr (cons 'a 'o))) ; Orjner
      (cons (cons (car (cons 'n 'c)) (cdr (cons nil 's))) nil)))


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.