Why Ruby?

Jacob Carlborg doob at me.com
Mon Dec 13 09:51:12 PST 2010


On 2010-12-12 17:29, 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!

As I replied to so, there are other cases than iteration which could 
benefit for a better delegate syntax.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list