D - D standard library
- Dario (13/13) Jun 07 2003 Isn't D's standard library complete enough?
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. Thoughts?
Jun 07 2003