[dmd-beta] beta for dmd 2.042

Andrei Alexandrescu andrei at erdani.com
Tue Mar 16 07:00:07 PDT 2010


On 03/15/2010 11:29 PM, Walter Bright wrote:
>
>
> Brad Roberts wrote:
>> On 3/15/2010 9:07 PM, Walter Bright wrote:
>>> Trass3r wrote:
>>>> Third issue:
>>>> Somebody messed up std.perf. Doesn't measure anything anymore.
>>>>
>>> That would be me. I failed to spot the difference between _qpc and _qtc
>>> and thought I'd "optimize" the code. Thanks for setting the code
>>> straight.
>>
>> Such variable names are overly optimized. They fail to convey meaning.
>>
>
> Generally, it's a bad idea to have two variable names in the same scope
> that differ only in an inner letter. Letters at the beginning or end
> should be different. Humans often just don't see the inner letter
> differences.

That's a hoax perpetrated by a chain mail with cherry picked words. Did 
you ever have trouble figuring "funk" out?

Andrei


More information about the dmd-beta mailing list