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

103

u/[deleted] Mar 02 '16

Also since programming takes a level of skill and determination that not everyone has I've noticed many people get big dicks about it. They think that by acting as if coding is the easiest thing to learn then they seem even more smart in comparison to other people.

23

u/[deleted] Mar 02 '16

Yea it's like some people want to believe that it's easy and they are super awesome at it, but the people that are actually producing (not me btw) aren't bitching and belittling others, they are putting in the effort to perfect their craft.

1

u/bijanklet Mar 03 '16 edited Mar 03 '16

Yep. They are likely insecure about their RELATIVE competency (considering the time advantage they have). The only way to combat that and feel better about yourself? Demotivate talent that is on track to surpass you.

-21

u/joonazan Mar 02 '16

I don't think they're doing it to be dicks. It is really hard to understand why beginners don't learn. Once you "get" it, it's just a matter of reading the specification and using the described functionality. But it seems nobody knows how to make people understand programming.

9

u/Spiritofchokedout Mar 02 '16

This is true in any field you have expertise in.

I work around doctors and they'll ask me something that's "ABCDEFG" to them but to me is very specialized, and they have to catch themselves and remember they're talking to someone who only took Biology I in college 6 years ago. A lot of them are still dicks about it, even though they and I both know that outside of doctoring I could run their ass up and down the court in certain fields.

When I tutor a 23 year-old in 9th grade essay writing and I have to explain what a "topic sentence" is, part of me does think "Why the fuck didn't they pick up on this by now? It's such an obvious concept." But you know what? It doesn't matter how I learned it or what they didn't learn, we're both here now and they're trying to learn so it's best not to be a dick about it.

Can it be frustrating when they don't learn quickly? Oh of course. It's also a gross perversion of the trust they put in me as an instructor to shit on them for it. To do so I'd have to be either a sociopath or extremely socially impaired. Guess which one programmers have a reputation for?

1

u/joonazan Mar 03 '16

You made me realize that a lot of things in programming depend on knowing huge amounts of information. I hadn't previously thought of how much depends on knowing how things work in an operating system / CPU.

Still, I'd say from my teaching experience that there is a moment when the pupil "learns programming" that is not about trivia. It is the moment when they start asking the right questions and when RTFM starts to work for them, provided the manual doesn't assume too much knowledge.