[dmd-beta] beta for dmd 2.042

Jason House jason.james.house at gmail.com
Tue Mar 16 08:34:41 PDT 2010

On Mar 16, 2010, at 10:00 AM, Andrei Alexandrescu <andrei at erdani.com>  

> 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

It's not a hoax, we all do it. The longer the word, the easier it is  
to skip the middle or overlook minor errors. The whole need for a  
spell checker with undefined symbols is proof of that! Sometimes I  
resolve those through copy and paste because I don't see a difference.

More information about the dmd-beta mailing list