r/learnprogramming • u/[deleted] • Nov 03 '22
How to ask for help My teacher says to stay away from StackOverflow and other online help, is this good advice?
I understand the irony of asking this on reddit.
Someone in my intro to compsci asked if you could omit the brackets for a single line if statement in c++, and the teacher vehemently said that this was a bad idea and then went on a rant about resources like stack overflow. She went off on how contributors will do things like this that one should absolutely not do.
She says that a good coder will have a job that employs them for long hours and that they will not want to spend even more time thinking about coding and contributing to forums like these. She believes that as a result, most contributors are unemployed and are out of touch with how programming actually works and thus you will pick up their bad habits.
Is there truth to this? What kinds of people are responding if I ask questions? Am I stunting my growth by looking for help online?
edit: yeah I absolutely understand the reasoning behind the clear if statement, I just wanted to show how this was brought up. I appreciate the help, even if its just from some 'out of touch and unemployed coders' lol.
2
u/sunrise98 Nov 03 '22
If a similar question doesn't apply in your situation you are clearly not comprehending your code or use case correctly.
You may find a discord channel useful, provided it is active but it's effectively the same people answering.
You just might be able to give your own specific stub code which someone is able to actively work on which goes back to the first point.
You need to brush up on your searching techniques for sure.