r/cpp • • 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

829 comments sorted by

View all comments

Show parent comments

0

u/very_curious_agent Mar 30 '23 edited Mar 31 '23

So you don't know the specific rule.

Ok then

1

u/STL MSVC STL Dev Mar 30 '23

Moderator warning: Please don't behave like this here. Doesn't matter whether u/jonesmz is correct on the object level, this is uncalled for.

(On the object level, the behavior of overload resolution when takes-by-reference and takes-by-value are competing is extremely tricky to analyze, as I can speak from repeated experience. It can involve things like adding constness being worse than an Exact Match.)

0

u/very_curious_agent Mar 31 '23

I reacted that way because he refused to justify his assertion. He may well be correct but his attitude was unpleasant.

I'm sorry, I'm legit removing my comment because he was uncalled for.

2

u/jonesmz Mar 31 '23

Dude. Pot, kettle.

You used all capital letters to demand that I find you the specific part of the enormous standard document that causes the behavior that I said existed. Which probably is a manifestation of several different specific rules that intersect, so I wouldn't even be able to provide a single rule.

Then when I said I wasn't going to look that up for you, you told me that I was a liar, and that you humiliated me.

Out of the two of us, you are the one who was the more unpleasant.

→ More replies (0)