On 12/14/2013 9:12 AM, bearophile wrote:
Dicebot:

2. dependable sizes of basic types

Not a real issue as your platform SDK always includes some kind of "stdint.h"

On the other hand in D you have less noise. Most D modules you find around use
and will use the built-in types, instead of choosing every time different ones.
This uniformity is an improvement.

It's true that standard C has a zillion names for an integer, and then a typical project will layer on a mass of its own (even dmd does this). The grief comes because pretty much no C project ever uses them consistently and correctly, implicit narrowing conversions hide the bugs, and of course they get messed up with printf formats.

Reply via email to