People on StackOverflow are assholes.

0    23 Jul 2017 11:51 by u/wesofx

No matter what you ask, somebody will give you a condicending non-answer. They even get points for doing so. Recently I asked if a function void foo(const std::optional<T>& opt); would create a copy of T. Instantly, some guy comments "It can't make a copy if you don't call it" and gets 2 points. No shit, asshole, I'm asking how I can either call it without making a copy, or how I can change the function to not make a copy. Here, foo({t});, I called it, you happy, asshole?

8 comments

4

I gave an answer once about joining tables in MySQL. I got a comment about how I was completely wrong and had no clue what I was talking about. I responded that he should have a talk with my MySQL server because it was obviously also doing things wrong by working with the SQL statement I used. Don't think he responded to that. Ever since then I've felt like StackOverflow is a cancer that I try to avoid.

1

Those big ego developers need a big ego to compensate for the lack of knowledge. In C/C++, create a test code and look at the generated assembler code. The dissembled code will be more correct than any debate on any forum.

0

I only look at assembly to check if something was computed at compile time lol

0
0

Its not just stackoverflow...its the same with reddit or pretty much every forum which has repuatation/karma involved. One reason could be that most of these sites dont allow a user to post/comment unless he has some points.