Code Comparison - Seeking D Equivalent to Lisp "dofile"
Charles
noone at nowhere.com
Mon Feb 20 12:28:25 PST 2006
> This isn't to belittle the library (I prefer to make
> fun of phobos separately)
:D
"John Demme" <me at teqdruid.com> wrote in message
news:dt95k5$1mad$1 at digitaldaemon.com...
> Tony wrote:
> > Thanks Jarrett.
> >
> > Your dofile function seems to have most of the functionality of the Lisp
> > macro. And I'm forced to admit that it is a little more readable than
my
> > "little sea of parentheses" :)
> >
> > I would have to say that D comes out ahead in this particular instance.
> >
> > Tony
> > Melbourne, Australia
> > tonysZ-mailboxZ at hotmailZ.com (remove the Zs)
>
> I'd like to point out that none of this has to do with D itself but rather
> the standard library. This isn't to belittle the library (I prefer to
make
> fun of phobos separately) but this example is more telling of the language
> itself; that D allows such expressive syntax-- the overloadable foreach in
> this case.
>
> ~John Demme
More information about the Digitalmars-d-learn
mailing list