[Prev][Next][Index][Thread]
Re: C# is not Dylan (was: Re: C# : The new language from M$)
"Michael T. Richter" <mtr@ottawa.com> writes:
> > i admit that the boilerplate mishmash of parens, braces and semicolons
> > can help a human find their way, e.g., i think C's for (;;){} is
> > easier than lisp's (do ()()()).
>
> Yes. Finally I've met someone in the Lisp camp who recognizes this feature.
bogus.
But, if you really love C's `for' then just implement it in Common
Lisp. It shouldn't be too hard to have something that looks almost
exactly like `for' (maybe a bit lispy, but hey, it's lisp).
(for ((i 0.0) (< i 1.0) (+ i 0.1))
(print i))
==>
0.0
0.1
.
.
.
0.9
just a thought.
dave
References: