Hacker News new | past | comments | ask | show | jobs | submit login

Optional parentheses, UFCS, BetterC, named character entities and the objective-C & C++ interfaces to name a few.



TBH, I'd be in support of removing every feature related to C++ interfacing. To interface with C++, you need to become like C++. If you become like C++, people will just use C++. D has spent considerable engineering effort in various areas in chase of a mythical "C++ programmer", but those people seem to be moving to Rust instead.


Removing the C++ interfaces? This would completely break a decent chunk of the compilers of D, no?

betterC, UFCS are both opt in so what's the rationale for breaking a huge amount of library code?


The rationale would be focusing the efforts of the small development community on the important features and having to worry less about breaking existing functionality.


So we remove a bunch of well tested, working language features on the basis of making the community do less work?

UFCS will probably never change, and even it did it's actually a relatively trivial part of the compiler to implement (i.e. Just a change to the grammar and a basic lookup and type check)


>So we remove a bunch of well tested, working language features on the basis of making the community do less work?

No, it's about focusing effort.


Some polls were tried but you will hardly get any agreement on which features to remove.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: