February 17, 2004 Re: Why I don't like D | ||||
---|---|---|---|---|
| ||||
Posted in reply to davepermen | Oh, he was refering to the the way it can be used. He means to say that D's way of using foreach is easier to do than other ways(like Ruby's). Now I think I got it. In article <c0sira$2jnf$1@digitaldaemon.com>, davepermen says... > >yeah, but he ment the side on writing own foreach's. this iis much easier to write and UNIQUE TO OTHER LANGUAGES. > >at least, i think. > >foreach itself isn't, yes. > >"Robert Jones" <robertjones21@HotPOP.com> schrieb im Newsbeitrag news:c0s257$1of1$1@digitaldaemon.com... >> In article <c0ra1g$fl4$1@digitaldaemon.com>, J Anderson says... >> > >> >Robert Jones wrote: >> > >> >>> > > >>>I assume you mean what's new. The biggest 'new' thing in D is the >foreach >> >>>statement and the way one writes a class collection that is >foreach'able. >> >>>This technique is much easier to write for than other languages, and is unique to D. >> >>> >> >>> >> >>> >> >> >> >>Not entirely true. Foreach is also in Ruby. >> >> >> >> >> >> >> >I suggest you re-read Walters answer. He's not saying that for foreach isn't in other languages, he's talking about the way it can be used. Many languages have foreach (PHP, Perl, C# to name a few). >> > >> >> I did read his answer I was disageeing with the following and giving a >example. >> The specific part is in all caps. >> >> "This technique is much easier to write for than other languages, and IS UNIQUE TO D." >> >> >-- >> >-Anderson: http://badmama.com.au/~anderson/ >> >> -- Robert Jones >> >> > > |
February 21, 2004 Re: Why I don't like D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert Jones | "Robert Jones" <robertjones21@HotPOP.com> wrote in message news:c0r2s4$3gd$1@digitaldaemon.com... > In article <c0dtlb$d3l$1@digitaldaemon.com>, Walter says... > >I assume you mean what's new. The biggest 'new' thing in D is the foreach statement and the way one writes a class collection that is foreach'able. This technique is much easier to write for than other languages, and is unique to D. > > > > Not entirely true. Foreach is also in Ruby. I'm not familiar with Ruby, but foreach is in many languages, but none that I've seen used something similar to opApply() to implement it. |
Copyright © 1999-2021 by the D Language Foundation