Why Ruby?

Adam D. Ruppe destructionator at gmail.com
Sun Dec 12 09:47:45 PST 2010


Lutger Blijdestijn wrote:
> You can't compare freach to code blocks [..] whereas code block
syntax is available to every function in ruby.

Meh, foreach covers the majority of its use anyway, and
plain delegate syntax works just as well for the rest of it.
I can't get worked up over typing parenthesis.

...Or you could abuse the property syntax to get rid of
them too!


More information about the Digitalmars-d mailing list