DMD 0.154 release

Sean Kelly sean at f4.ca
Wed Apr 12 13:30:22 PDT 2006


Walter Bright wrote:
> pragma wrote:
>> In article <e1jeql$2vcl$1 at digitaldaemon.com>, Walter Bright says...
>>> Had to do an update since --gc-sections broke exception handling.
>>>
>>> Also, 'I' and 'l' integer suffixes are deprecated, because in many 
>>> fonts they are indistinguishable from each other and from '1'.
>>>
>>> http://www.digitalmars.com/d/changelog.html
>>
>> You're not kidding.  I found it somewhat humorous that the linked page 
>> exhibits
>> the very problem you're citing:
>>
>> * Numeric suffix '|' now deprecated, use 'L' instead.
>> * Floating point suffix '|' now deprecated, use 'i' instead.
> 
> Yup. I got this idea from the JSF document on C++ coding standards. I've 
> also wondered about disallowing single letter declarations when those 
> letters are lower case l, upper case I, or upper case O, or if that is 
> going too far.

I've wondered the same thing.  I never use those names for the confusion 
they can cause, but haven't been able to decide whether a more rigid 
enforcement might be too draconian.


Sean



More information about the Digitalmars-d-announce mailing list