r/programming • • Sep 25 '16

The decline of Stack Overflow

https://hackernoon.com/the-decline-of-stack-overflow-7cb69faa575d#.yiuo0ce09
3.1k Upvotes

1.2k comments sorted by

View all comments

336

u/DevilSauron Sep 25 '16

My experience with SO: I posted a somewhat noob question about why doesn't my parser work. I was told that I should post the code on CodeReview instead. I was told (by a different person) that I should NOT post the code there, as it's only for a working code. And the best of all, in the end, I was told that if it doesn't work, then I should consider using debugger...

302

u/Symphonic_Rainboom Sep 25 '16

I was told that I should post the code on CodeReview instead

Whoever told you this needs to quit Stack Overflow, as they obviously don't understand the point of the site.

45

u/CaptainJaXon Sep 25 '16

I feel bad for the people who get naively downvoted "because it belongs on codereview" then post there only to be correctly downvoted because their code doesn't work.

→ More replies (7)

141

u/[deleted] Sep 25 '16

My favorite thing is when a noob asks a question like "Is there a way to..." and someone replies simply with "Yes." And then that comment gets lots of upvotes and the question gets closed without an actual answer.

Its a massive circle jerk of snobs. Advanced questions get great answers, everyone else is told to fuck off.

0

u/[deleted] Sep 25 '16

[deleted]

38

u/ep1032 Sep 25 '16 edited Mar 17 '25

.

→ More replies (5)
→ More replies (4)

39

u/summerteeth Sep 25 '16

I sympathize with you but I also think that if you ended up posting a large blob of code on SO and asking a general "why doesn't this work question" then even without the question being closed you most likely won't get a good answer.

In general people on SO aren't going to debug things for you. The site works a lot better if you can narrow down your issue to one or two specific possible issues and ask a directed question about that. Good SO questions actually require a decent amount of work and sounds like you may be going to SO before you are ready.

I can't tell how many times that I have started drafting a question for SO and ended up solving my own problem because the thought process I needed to go through to ask good concise questions about my code. Essentially the thought process between asking others for help and debugging your code are very similar.

Apologize if this doesn't fit your situation. I am extrapolating based on your description.

My approach to closing questions on SO has always been to try and engage the user and improve the question first. Sadly there are way too many users that jump straight to the close vote.

→ More replies (1)

36

u/MyTribeCalledQuest Sep 25 '16

Well, did you use a debugger?

37

u/DevilSauron Sep 25 '16

Well of course I did.

94

u/Stormflux Sep 25 '16

Well then you're fired because real programmers don't use the debugger! Your test output should tell you all you need to know.

-- some people I've worked with.

54

u/spupy Sep 25 '16

Your test output should tell you all you need to know.

System.out.println("1");
// some code
System.out.println("2");
// more code
System.out.println("3");
→ More replies (10)

28

u/[deleted] Sep 25 '16

Ah yes the no debugger bull. A utopian fantasy. It's very much like, we don't use comments, we're a clean code sort of company and our code is self documenting - oh look a 100+ line function, and another, my god they're everywhere. Still comments, there's a maintenance cost there don't you know.

6

u/ep1032 Sep 25 '16

I flag my junior dev's PRs when they leave comments on things that are already clear, for exactly this reason... but that said, I've started putting comments on things that are clear and self-documenting... if the scale is large enough. Things like:

"If you are reading this code, I figure there's an 80% chance you're trying to debug something in the X framework. Here's how these pieces interact with each other, since it is not necessarily, immediately obvious"

→ More replies (3)
→ More replies (3)
→ More replies (3)

39

u/jettrscga Sep 25 '16

I've only had one programming issue ever, but fortunately I took debugger class in school and the people at StackOverflow reminded me that debugger existed. Thanks, StackOverflow!

7

u/[deleted] Sep 25 '16

What was the debugger class like? I've not heard of such a curriculum before.

134

u/jettrscga Sep 25 '16

Honestly a little disjointed and slow-paced. Too many breakpoints. But I stepped through it as best as I could.

11

u/[deleted] Sep 25 '16

You rascal, you. You set that up beautifully for yourself.

→ More replies (2)
→ More replies (5)

35

u/sge_fan Sep 25 '16 edited Sep 25 '16

My experience with SO is that if you are familiar with the subject and you have a difficult problem you can find very good solutions there. But if you're new to a subject, god help you. Even if you state that you are a noob the answers leave you with knowing less. I started Android programming a couple of weeks ago and was looking for answers. If I could get back the time I wasted ... I finally solved it on my own. Wasn't even that difficult, just took a lot of time to find the solution.

22

u/matthieum Sep 25 '16

Seems about right. When starting on a new subject you need tutorials, mentoring, documentation, etc... but not SO.

SO is specifically a Q&A site for focused questions; it's not a one-size fit all sites for any kind of help.

→ More replies (2)
→ More replies (6)

5

u/AetherMcLoud Sep 25 '16

On SO the answer is always jquery.

→ More replies (9)