r/learnprogramming • • 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.

2.0k Upvotes

508 comments sorted by

View all comments

Show parent comments

72

u/fazzah Mar 02 '16

That's why SO is nice to read, but terrible to ask questions. The amount of elitism and high-horseism is terrible.

8

u/WallyMetropolis Mar 02 '16

Every question I've asked on SO has been either helpfully answered or just ignored. Though I suppose none of those were elementary questions.

31

u/Gawd_Awful Mar 02 '16

I dread when I google something and it directs me to SO. I know there is going to be a 50/50 chance of the answers just being "You need to go learn what the hell your talking about before you ask questions." If I'm lucky, someone further down actually answered it instead of just telling OP he's a dumb ass for not reading every single doc first.

14

u/[deleted] Mar 02 '16

The worst is when you google a problem and the first 5 links are all people with your EXACT problem but the only answer given is to "use the search function"

14

u/Gawd_Awful Mar 02 '16

Not really related to SO but I hate the "Never mind, I figured it out!" posts and the resolution is never posted to whatever the problem was.

4

u/[deleted] Mar 02 '16

lol yea, thats why I always edit my post with the answer which actually helped me when I ran into the same problem I had months earlier but forgot the answer (not SO but a tech forum) I actually found my old post and got the answer to my problem from my old self.

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.

33

u/ANAL_CHAKRA Mar 02 '16 edited Mar 03 '16

To be fair, SO does not do a good job of explaining this. When you're a novice, often you don't even know what you're asking, or you're missing some key concept. You try to post to SO after googling for a bit and not finding what you wanted. Then suddenly come the downboats, people editing your post for you, people asking "are you really trying to do that?" and the inevitable closing. I didn't have any idea what was happening the first few times this happened to me, it just made me feel really stupid and SO didn't explain why everyone seemed so hostile.

Thankfully, I had at least one programmer friend who explained to me what was happening and why. I started to understand why SO works the way it does, and it makes complete sense now.

19

u/Gawd_Awful Mar 02 '16

My favorite is when someone says they are working on a school assignment but what they are trying to do is not working. There is almost always a reply of "You shouldn't do it that way, you should use X". Yes, in the real world that might be the more efficient way to do it but this is a specific situation where they need to use that other method as part of their learning in general.

8

u/insertAlias Mar 02 '16

Sure, but you have to think of it from their perspective too. Lots of professors require students to use outdated libraries or versions. Which is generally fine to teach students about specific topics, but when posted as a question to a "knowledge repository", the helpers would be remiss if they didn't explain that "this is not how you should do it in the real world".

An example: on a C# forum, sometimes someone pops in with an ArrayList question. If you're familiar with C#, that's essentially a List<Object>, added to the framework during a time when it didn't support generics.

That might be a component that their instructor has required them to use. Maybe they're stuck on .NET 1.1. Or maybe that's the extent of the professor's knowledge on that specific subject.

Unfortunately, it's also bad practices being taught. If the people answering didn't clarify and say "You should be using List<T> for type safety and simplicity of use", then others visiting that thread in the future might think that is valid, modern code.

→ More replies (2)
→ More replies (1)
→ More replies (2)
→ More replies (1)
→ More replies (4)

15

u/opentoinput Mar 02 '16

SO?

29

u/[deleted] Mar 02 '16

stack overflow

164

u/kingpuco Mar 02 '16

Wtf? stop helping

33

u/arcanemachined Mar 02 '16 edited Mar 02 '16

This fucking noob probably can't even roll their own DNS server, just send them to 104.16.37.249. It's shorter, and thus easier to remember.

7

u/waernil Mar 02 '16

Error 1003 Ray ID: 27d7631568560f39 • 2016-03-02 19:52:04 UTC Direct IP access not allowed

Please help

7

u/daerogami Mar 02 '16

RTFM!

It's not like its that long. You really should be trying to understand circuits before you try browsing. /s

10

u/[deleted] Mar 02 '16

I just laughed out loud.

→ More replies (1)

6

u/questionmark693 Mar 02 '16

Significant other

14

u/Flederman64 Mar 02 '16

In this context its clearly Significant Otter, any college freshman knows that.

3

u/questionmark693 Mar 02 '16

You're right, I feel foolish for missing it

8

u/Flederman64 Mar 02 '16

Please read the rules before posting next time, and be sure to search the historical records to see if your answer has been posted before.

→ More replies (1)
→ More replies (1)
→ More replies (17)

4

u/[deleted] Mar 02 '16 edited Mar 03 '16

I mean at least SO has some modicum of moderation. We have 2 whole mods for over 200,000 subscribers, and I bet they spend even less time in the channel. I'm not saying they're bad mods, just that it's too large a workload for so few volunteer mods to handle.

→ More replies (2)

4

u/vanbikejerk Mar 02 '16

High-horsemanship?

4

u/Goluxas Mar 02 '16

AKA Elevated Equestrianism.

→ More replies (1)
→ More replies (2)