r/learnprogramming • u/kaepor • Mar 02 '16
The #learnprogramming IRC channel is too hostile for people to even have a chance to LEARN.
I've kept my mouth shut about this for a while now but after tonight I'm done with it. I've had my fair share of experiences coming into the chatroom and leaving on the verge of abandoning programming forever. I don't consider myself to be "new" programmer, but I'm also not yet a candidate for employment at any software development company.
Someone today just came in and asked why their program was giving them an error. Here was the offending line of code
scanf("%d" , Choice);Wanna know what was said to him?
"how do you expect scanf to update the int unless you give it a pointer"
Excellent response! Anyone who's ever taken an intro class in C can easily identify this issue. But guess what? The guy who was asking for help didn't know why it wasn't working. He didn't know how to interpret the error his compiler was giving him, he didn't know what an int* was or how it was different from an int, and he didn't know how to understand the C reference guide for the scanf() function.
I began walking him through picking apart the error. I began with: "Alright, so we know the error is at line 8. But we're not sure why. Let's figure that out." My next step was to direct him torwards any notes he had about his scanf() function from class to guide him towards what parameters he should be using.
Wanna know what happens next? Someone tags me with the message "wtf" and tells me to "stop helping" because I don't know what a pointer is. Just for reference, I do. Keep in mind, this particular user doesn't follow up with the explanation of a pointer, or any links/references to such. He just tells me to stop helping.
This is not an isolated incident. I often find when I ask a question, people would much rather give me partial answers and tell me how bad I am for trying to solve my problem in the way that I have. If I dare follow up their answer with a question such as "Why do it like x instead of y?" I get told things such as "Because that's how it is. If you disagree, than feel free to continue to write shitty code."
This kind of attitude is NOT OKAY for an IRC chat that claims to be a channel dedicated to learning programming. It's one thing to think a question is stupid and choose to not reply to it. It's another to make the person feel like they're stupid for asking it.
I'm not suggesting we give everyone all the answers all the time. I am merely suggesting that we realize that not everyone is coming in here to ask advanced questions. Some people are going to come in and not even know why their hello world function isn't working. And while we should not have to be their personal debuggers, we need to get rid of this attitude that somehow those types of users aren't deserving of our help because we're not at that same level anymore.
We should be teaching people how to interpret the esoteric compilers spit out.
We should be teaching people how to read and comprehend documentation about their language of choice.
We should be teaching people about sites like Stack Overflow and how to effectively use Google.
And most importantly (IMO) we should be teaching people not to be afraid to ask questions if they need help.
UPDATE Seems like today quite a few people in the #learnprogramming channel have been making fun of this post. Now sounds like a good time to get a new room up and started once and for all.
33
u/insertAlias Mar 02 '16
Wow. I've been doing this for about ten years now, and SO is my favorite resource, probably because I never ask questions there. I never have to, every time I google some code-related question, SO is usually the top result, and the thread usually has a pretty detailed answer.
People are expecting the wrong thing out of SO. It's not a help forum. It's not a touchy-feely-newbie-friendly help forum that will walk you through Programming 101. That's not their stated purpose. They're trying to be a knowledge repository, a place that has specific answers to specific questions. I think more people would get more out of it if they realized that. They close duplicates because you don't need 1000 threads explaining how to print text to a console. You need one. Stuff like that.
But newbies take having their threads closed as a personal insult and then go around blaming everyone on SO for not breaking their own site rules and making an exception.