Completely agree, although note that a large fraction of the complexity of Phobos comes from workarounds for compiler bugs. The language right now is IMHO *far* too complicated -- especially as regards to parameter passing (maybe everything else is OK, not sure).

Parameter passing is an important problem but D at least tries to provide a solution.
Until someone come with a better one, current solution will be the best.

Would you like that D ignore the situation like many(all?) others just to be called "not so complex" language? I believe not.

On the other hand i would like to see the same treatment for inlining.
Like adding a keyword (maybe "inline"), but unlike C++ hint this would be a forceinline which outputs an error if it is not possible.
I believe this would solve many problems.

--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Reply via email to