www.digitalmars.com         C & C++   DMDScript  

D - D standard library

Isn't D's standard library complete enough?
I think that we can leave the old C's library now:
it is a nonsense to continue proposing the old,
inadequate, type-unchecked printf().

The current D way to print text should be Pavel's streams.
Maybe we can write another option for those who don't
like OOP, such as an overloaded print() function, which
MUST be type-checked anyway.

Math functions are incomplete too. We actually have
math.sin and intrinsic.sin. I think that they have to be the same:
all math functions should be intrinsic in the compiler, so that
sin(PI) would be considered a constant expression.

Jun 07 2003