removal of cruft from D

Nick Sabalausky a at a.a
Sat Nov 21 06:03:21 PST 2009


"KennyTM~" <kennytm at gmail.com> wrote in message 
news:he8a02$1jtn$1 at digitalmars.com...
> On Nov 21, 09 15:40, Yigal Chripun wrote:
>>
>> in the short term I wouldn't mind if they would be typed as:
>> 0baseEightXXX or what ever as long as the current syntax is removed.
>>
>> in the long term, I'd like to see a more general syntax that allows to
>> write numbers in any base.
>> something like:
>> [base]n[number] - e.g. 16nA0FF, 2n0101, 18nGH129, etc.
>> also define syntax to write a list of digits:
>> 1024n[1005, 452, 645, 16nFFF] // each digit can also be defined in
>> arbitrary base
>>
>
> What's the point of using bases other than 2, 8, 10, 16, 36 and 64?

Numeric processing, maybe?





More information about the Digitalmars-d mailing list