toString vs. toUtf8

Walter Bright newshound1 at digitalmars.com
Mon Nov 19 16:41:58 PST 2007


Gregor Richards wrote:
> Would you prefer if int => int32, long => 
> int64, short => int16, byte => int8, real => float80 (portability be 
> damned), double => float64, float => float32? They'd certainly be more 
> obvious, but I can tell you I'd go crazy.

Those get requested now and then, but I agree they are awful. They're a 
legacy from the C world where the sizes of basic types are unknown.



More information about the Digitalmars-d mailing list