Why Ruby?
spir
denis.spir at gmail.com
Sun Dec 12 09:04:43 PST 2010
On Sun, 12 Dec 2010 16:29:29 +0000 (UTC)
"Adam D. Ruppe" <destructionator at gmail.com> 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!
I agree as well. Foreach is superior (for a static language, at least). Ruby-like procs and blocks would bring about nothing to D and introduce a lot od syntactic (and mental ;-) mess.
Denis
-- -- -- -- -- -- --
vit esse estrany ☣
spir.wikidot.com
More information about the Digitalmars-d
mailing list