Integer conversions too pedantic in 64-bit

Iain Buclaw ibuclaw at ubuntu.com
Wed Feb 16 02:35:04 PST 2011


== Quote from spir (denis.spir at gmail.com)'s article
> On 02/16/2011 04:49 AM, Michel Fortin wrote:
> > On 2011-02-15 22:41:32 -0500, "Nick Sabalausky" <a at a.a> said:
> >
> >> I like "nint".

It's the machine integer, so I think the word 'mint' would better match your
naming logic. Also, reminds me of this small advert:
http://www.youtube.com/watch?v=zuy6o8YXzDo ;)

> >
> > But is it unsigned or signed? Do we need 'unint' too?
> >
> > I think 'word' & 'uword' would be a better choice. I can't say I'm too
> > displeased with 'size_t', but it's true that the 'size_t' feels out of place in
> > D code because of its name.
> yop! Vote for word / uword.
> unint looks like meaning (x € R / not (x € Z)) lol!
> Denis

word/uword sits well with my understanding.


More information about the Digitalmars-d mailing list