Is the world coming to an end?

Daniel Gibson metalcaedes at gmail.com
Sat Apr 2 14:53:12 PDT 2011


Am 02.04.2011 23:38, schrieb bearophile:
> Andrej Mitrovic:
> 
>> If I didn't know it better I would think it's still April 1st. :D
> 
> I don't like the "octal!" a lot, I prefer a syntax like the Python3 one, 

Come on: the C-style octal syntax is bad (see [1]) and can lead to strange bugs,
so it's a huge win that it's finally killed, even if you don't like the new
syntax :-)
In general octal numbers are rarely needed (I guess), so the somehow clumsy
octal!123 syntax doesn't matter. Also it's more readable (self-documenting) for
someone not used to octal numbers than Python3's 0o123.

Also congratulations to spir, I guess his "0nnn octal notation considered
harmful" thread[1] was a good argument for this step :-)


Cheers,
- Daniel

[1]
http://www.digitalmars.com/d/archives/digitalmars/D/0nnn_octal_notation_considered_harmful_129416.html


More information about the Digitalmars-d mailing list