On Wednesday, 30 May 2012 at 15:45:05 UTC, Andrei Alexandrescu wrote:
On 5/30/12 2:14 AM, Jacob Carlborg wrote:
It seems more and more that D2 is not a designed language. Instead new features are just slapped on without considering how it would impact the
rest of the language.

What features are you referring to?

The concurrency model as this thread shows. There is no bridge between shared and unshared data like const is to immutable and mutable. Perhaps the monitor on every object should have been removed when the new concurrency model was designed, as this thread suggests.

"inout" was added long after the const system was added to D. If done correctly this should have come up as a problem when designing the const system. You cannot apply const/immutable to an object reference in the same way as you can to a pointer.

It took some pretty good convincing for you to accept that strings weren't enough as a substitute for lambdas. Fortunately we have proper lambdas now :)

"const" doesn't play nice with ranges.

All these points have been mentioned before.

--
/Jacob Carlborg


Reply via email to