DMD 0.154 release
clayasaurus
clayasaurus at gmail.com
Thu Apr 13 18:07:26 PDT 2006
Georg Wrede wrote:
> Kyle Furlong wrote:
>> 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.
>>
>> That seems to me to be going too far. Let a style guide do that work,
>> that is
>
> Let's put it this way: if a programmer insists on using a font where l,
> I, 1, O, 0, etc. have the slightest chance of looking like each other,
> then that programmer is not one we'd want in the D community.
>
What about if they are using an IDE with support for 1 font only?
More information about the Digitalmars-d-announce
mailing list