Why Ruby?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Dec 19 09:30:49 PST 2010


On 12/19/10, foobar <foo at bar.com> wrote:
> This feature promotes a code smell.
> <snip>
> what happens in the following snippet?
>
> int a = 5;
> sort!"a > b"(whatever);
>

You've accurately described your snippet in advance. *That* is a code
smell. You should never use single-variable names in your code in the
first place.


More information about the Digitalmars-d mailing list