[dmd-internals] type inconsistency in the source code

mrmocool at gmx.de mrmocool at gmx.de
Fri Jan 27 08:38:54 PST 2012


>> I would personally love to have a set of types that look natural and
>> clear like in D, i.e. without some crappy prefix d_ or suffix _t
>> like int32,uint32,...
>
> They are already there:
> #include <stdint.h>
> int32_t, uint32_t, etc. Sorry but C (and C++ in this case inherits
> C stdlib) uses the _t suffix for typedefs.

I know. But _t doesn't look natural. In the end it's a D compiler, so why  
not introduce some good practice :)


More information about the dmd-internals mailing list