"with" still sucks + removing features + adding features

Nick Sabalausky a at a.a
Tue May 19 00:54:06 PDT 2009


"Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> wrote in message 
news:gutd12$16h9$1 at digitalmars.com...
> Let me make a separate point. With "...", people just defined the space 
> operator. What's the space operator? Changes the meaning of 0...10 in two 
> distinct ways:
>
> 0...10 is an all-inclusive integer range from 0 to 10
> 0. ..10 is a right-open floating-point range from 0 to 10
> 0.. .10 is a right-open floating-point range from 0 to 0.1
>

So '1.' and '.1'  are legal numbers in D? I would have assumed that any 
numerical literal with a decimal point would require at least one digit on 
both sides of the decimal point. Not sure I see a good reason for this not 
to be required. 





More information about the Digitalmars-d mailing list