Why Ruby?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Dec 19 09:31:54 PST 2010


I meant single-letter variable names there.

On 12/19/10, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> 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