r/javahelp • • Apr 29 '16

What is Stackoverflow's problem?

I'm a beginner to Java - every time I post a question on Stackoverflow I am greeted by a torrent of downvotes or I get my post put on hold/edited/marked as duplicate for some reason even when I read everything relevant first, even though this doesn't help me. I thought this was a place where we can ask questions, I seem to get quick responses and get help some of the time but why is this community so assholish? I don't understand the purpose of the website if they are like this?

32 Upvotes

30 comments sorted by

View all comments

14

u/basalamader Apr 29 '16

Someone told me " that the best way to learn something as a beginner is to ask as a last resort".

The reason to this is because it forces you to search for the right question. Honestly, sometimes finding the right answer is not about getting the code but more about asking the right question. I think that's why stack overflow seems pretty anal about that. They reason that, "this is something you can search for, why should we do the work for you". It sucks..

4

u/mariox19 Apr 29 '16

Early on, when I started to learn programming, I asked a really smart programmer friend of mine for some help with a bug in my program. He showed me what I was doing wrong, how to do it right, and then a simple and more elegant way of doing the same thing. (He introduced me to the idea of using a lookup table instead of nested if-else statements.) That was the first time.

The second time I asked him for help, he gave me this piece of advice: "Be stoic." As much as I appreciated his first bit of help, I appreciate his second even more.

Look, I've asked for help on forums many times; but usually that's only after not solving the problem on my own after a lot of research on my part. Aaron Hillegass (the founder of Big Nerd Ranch), in one of his iOS books, recommended that a person first try to write a toy application to explore and solve a problem. He said something like, "It'll take you 15 minutes, and as often as not you'll solve the problem. If you don't, you'll at least understand it much better so as to be able to ask better questions."

The worst mistake a person can make in programming—or anything else, for that matter—is to just throw up one's hands and cry, "I don't get this."

2

u/basalamader Apr 29 '16

I actually don't disagree, asking is better than giving up. I think the problem comes in when someone is a beginner and has a problem that most programmers encountered as beginners. There is a high chance someone asked that problem before you and there is a high chance a more experience programmer answered it. The problem of being a beginner in my opinion is you don't know what to search. Most people will put the code on the board and say something of the sort "I keep getting this error...Error:...."

I think part of being a programmer is not finding the right solution but sometimes finding the right question to ask. If the person for instance looked at his code base and had an idea of where the error was, they would ask something different like hmm I wonder why this specific thing isn't working and Google that.

2

u/mariox19 Apr 29 '16 edited Apr 30 '16

Knowing what to ask is difficult for the beginner programmer. It's difficult enough for the experienced programmer using some new technology, but at least at that point you probably realize that there is something you don't know.