Jeremie Pelletier wrote:
Walter Bright wrote:
Also, the complex and imaginary types will be removed at some point
and replaced with a library type; there goes 6 keywords.
Why? What's the rationale behind such a move? These types will always be
handled the same no matter what library implements them. These are
always tricky to use in C since different compilers implement them
differently, why do the same in D?
Using a standard library type solves the standardization problem. The
big reason for moving it to a library type is the user defined type
capabilities of D have grown to the point where there is no longer much
of any advantage to having it built in.
Simplifying the internal logic of the compiler then has a lot of advantages.