Why Ruby?
foobar
foo at bar.com
Sun Dec 12 08:49:20 PST 2010
Adam D. Ruppe Wrote:
> so wrote:
> > Am i alone thinking D one better here?
>
> No, I find foreach to be significantly better than the ruby
> blocks too. I recently argued on the gentoo forums that
> they are virtually equivalent too:
> http://forums.gentoo.org/viewtopic-p-6500059.html#6500059
>
> opApply is implemented with a delegate!
Exactly. D basically re-writes foreach with opApply into the Ruby version which is why Ruby is *BETTER*.
foreach to me is a redundant obfuscation.
More information about the Digitalmars-d
mailing list