[dmd-beta] beta for dmd 2.042
Walter Bright
walter at digitalmars.com
Mon Mar 15 21:29:09 PDT 2010
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.
More information about the dmd-beta
mailing list