3 ms·
What kind of features do you think should be removed? There were some people on the forums that were in favor of removing any feature that could be reimplemente
by skocznymroczny 7y ago
What kind of features do you think should be removed? There were some people on the forums that were in favor of removing any feature that could be reimplemented with templates as a library solution.
- faissaloo 7y agoOptional parentheses, UFCS, BetterC, named character entities and the objective-C & C++ interfaces to name a few.
- mhh__ 7y agoRemoving 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?
- faissaloo 7y agoThe rationale would be focusing the efforts of the small development community on the important features and having to worry less about breaking existing functionality.
- mhh__ 7y agoSo 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)
- faissaloo 7y ago>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.
- p0nce 7y agoSome polls were tried but you will hardly get any agreement on which features to remove.
- skocznymroczny 7y agoTBH, 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.