foreach, an analogy
Bill Baxter
dnewsgroup at billbaxter.com
Thu Oct 19 17:24:51 PDT 2006
Vladimir Kulev wrote:
> I just want to put my heartfelt cry here. Foreach_reverse is evil!
:-)
It may not be the most elegant work Walter has done, but it's not going
to steal your socks or eat babies, so y'know keep a little perspective
here. :-)
>I like D,
> but such a things just increase probability that it never will be not a
> toy. Implement an iterators integration into foreach, or do something else,
> but do in intensive way, not extensive!
Agreed it should be done as an integral feature of the language, not as
a patch on top of a concept that is not sufficiently powerful to achieve
the desired behavior.
> Walter, read some books about language architectures and design, please!
> There are lots of info in the Internet.
I see you got a lot of flack for this statement, but I don't think it's
too out of line. Walter's credentials as a language *implementer* and
*compiler* designer are totally unassailable. But when it comes to
language *architecture* and language *design*, I haven't seen anything
to indicate he has much more creds than many of the other folks here.
In terms of design of all things computer-related, this book is said to
be spectacular by everyone I know who has taken the time to read and
understand it:
http://www.amazon.com/Computer-Architecture-Concepts-Evolution-Set/dp/0201105578/sr=8-1/qid=1161303518
I wish I had taken that class in grad school now, myself.
--bb
More information about the Digitalmars-d-announce
mailing list