Implicit enum conversions are a stupid PITA

Aelxx aelxx at yandex.ru
Fri Mar 26 01:03:10 PDT 2010


"bearophile" <bearophileHUGS at lycos.com>wrote :
> Regarding base type names I have proposed :
> byte => sbyte
> wchar => char16 (or shortchar)
> dchar => char32 (or intchar)
>
> http://d.puremagic.com/issues/show_bug.cgi?id=3850
> http://d.puremagic.com/issues/show_bug.cgi?id=3936
>
> Bye,
> bearophile
>

In my embedded C projects I always use
u8, i8
u16, i16
u32, i32
f32 for floats
and they are all defined in user's header file, surely IDE highlights them 
as keywords :), so no need for language changes =). 





More information about the Digitalmars-d mailing list