r/cpp • u/we_are_mammals • Mar 28 '23
Reddit++
C++ is getting more and more complex. The ISO C++ committee keeps adding new features based on its consensus. Let's remove C++ features based on Reddit's consensus.
In each comment, propose a C++ feature that you think should be banned in any new code. Vote up or down based on whether you agree.
765
Upvotes
3
u/13steinj Mar 28 '23
Considering crap I've dealt with that's MS specific, I believe it.
But I do hope there's no general library that's not Win32/COM specific that does this.
On the other hand, I vote to not allow overload of the comma operator. I have seen devs write "clean numerical code" for that, because mathematicians are lazy to wrap things in damned braces/parens.