Jump to page: 1 24  
Page
Thread overview
DMD 0.154 release
Apr 12, 2006
Walter Bright
Apr 12, 2006
pragma
Apr 12, 2006
Walter Bright
Apr 12, 2006
Kyle Furlong
Apr 14, 2006
Georg Wrede
Apr 14, 2006
Walter Bright
Apr 14, 2006
clayasaurus
Apr 14, 2006
Kyle Furlong
Apr 16, 2006
Georg Wrede
Apr 14, 2006
Derek Parnell
Apr 14, 2006
John C
Apr 14, 2006
Deewiant
Apr 14, 2006
Sean Kelly
Apr 14, 2006
John C
Apr 14, 2006
Sean Kelly
Apr 16, 2006
Georg Wrede
Apr 14, 2006
Sean Kelly
Apr 14, 2006
John C
Apr 16, 2006
Georg Wrede
Apr 17, 2006
John C
Apr 14, 2006
Bruno Medeiros
Apr 14, 2006
Derek Parnell
Apr 14, 2006
Juan Jose Comellas
Apr 16, 2006
Georg Wrede
Apr 16, 2006
Georg Wrede
Apr 12, 2006
jcc7
Apr 12, 2006
Sean Kelly
Apr 12, 2006
BCS
Apr 13, 2006
Victor Nakoryakov
Apr 14, 2006
Stjepan Zlodi
Apr 14, 2006
Kyle Furlong
Apr 14, 2006
Kyle Furlong
Apr 14, 2006
Sean Kelly
Apr 21, 2006
antonio
Apr 25, 2006
Lionello Lunesu
Apr 25, 2006
antonio
Apr 25, 2006
Kyle Furlong
Apr 13, 2006
DBloke
Apr 13, 2006
BCS
April 12, 2006
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
April 12, 2006
In article <e1jeql$2vcl$1@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.

(pipes used for effect)

- EricAnderton at yahoo
April 12, 2006
pragma wrote:
> In article <e1jeql$2vcl$1@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.
April 12, 2006
Walter Bright wrote:
> pragma wrote:
>> In article <e1jeql$2vcl$1@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 its natural role.
April 12, 2006
In article <e1jjka$649$1@digitaldaemon.com>, Walter Bright says...
>
>pragma wrote:
>> In article <e1jeql$2vcl$1@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'd be going too far. When I'm programming, I use a font that lets me see what I'm typing. I don't write programs in Arial or whichever font makes those all look the same.

Similarly, D allows people to use Chinese characters as variables that might show up as blocks or question marks in my favorite font, but that's my problem. If my font can't display their code, it's my responsibility to use a suitable font. It's not the language's job to make all programs clearly visible in all fonts.

jcc7
April 12, 2006
Walter Bright wrote:
> pragma wrote:
>> In article <e1jeql$2vcl$1@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
April 12, 2006
Sean Kelly wrote:
> Walter Bright wrote:
>> pragma wrote:
>>> In article <e1jeql$2vcl$1@digitaldaemon.com>, Walter Bright says...
>>>
>>>> Also, 'I' and 'l' integer suffixes are deprecated, because in many fonts they are indistinguishable from each other and from '1'.
>>>>
[...]
>>
>> 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


A code standard checker would be interesting.
lexical & syntax (maybe semantic) front end + some sort of pattern recognition language?
April 13, 2006
Walter Bright wrote:
> 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.

Hm... I think bigger part of programmers use syntax highlighting in their editors, so numbers and identifiers have different colors. This is sufficient to distinguish problem characters.

-- 
Victor (aka nail) Nakoryakov
nail-mail<at>mail<dot>ru

Krasnoznamensk, Moscow, Russia
April 13, 2006
Walter Bright wrote:
> 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

Thanks Walter,
Do you ever sleep ;)
April 13, 2006
Walter Bright wrote:
> 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

I is anyone else haveing probles with .154 on linux?

this compiles

/******************************/
import std.stdio;
void main()
{
writef("hello world\n");
}
/******************************/


this compiles on winXP but not linux

/******************************/
import std.stream;
void main()
{
	auto s = new BugStream();
}
class BugStream : Stream
{
	this(){}

	size_t readBlock(void* buffer, size_t size){}

	size_t writeBlock(void* buffer, size_t size){}

	bool seekable(){return false;}

	ulong seek(long offset, SeekPos whence)
	{
		throw new SeekException("BugStream can't seek");
	}

}
/******************************/
« First   ‹ Prev
1 2 3 4