removal of cruft from D

Leandro Lucarella llucax at gmail.com
Sat Nov 21 10:37:24 PST 2009


KennyTM~, el 21 de noviembre a las 16:56 me escribiste:
> >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?

Are there any common uses for bases other than 2, 8, 10 and 16 that makes
language support reasonable (instead of library support)?

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
He cometido pecados, he hecho el mal, he sido víctima de la envidia, el
egoísmo, la ambición, la mentira y la frivolidad, pero siempre he sido
un padre argentino que quiere que su hijo triunfe en la vida.
	-- Ricardo Vaporeso



More information about the Digitalmars-d mailing list