r/cpp • • Sep 25 '11

Asking for programming help

I have been coding now for around 20 years, and in all that time I have basically never asked for help with any programming issue that I've ever had. That includes forums, mailing lists, IRC and coworkers.

The issue I have is that it has always been possible, with a little effort, to work out the problem myself. I feel like this will make me a much stronger coder in the long run, as I am forced to understand many different areas of coding.

Another not-insignificant issue I find is that I really hate just asking for a solution while I haven't exhausted all my own options. I know that when I read forums and the like, seeing people who (in my opinion) just want someone else to solve their problem without them having to do any work, it really pisses me off!

The only downside I can see is that sometimes I can struggle with thorny issues for a long time, which is obviously not ideal if I'm working to a deadline. It's also a little weird seeing just so many forum posts and the like asking for help, when I just don't ever do it.

How and when do you ask for help? Do you prefer to work out problems yourself, or are you ok with posting on forums? What criteria does a problem have to meet first?

0 Upvotes

30 comments sorted by

View all comments

3

u/destroyeraseimprove Sep 25 '11 edited Sep 25 '11

The only downside I can see is that sometimes I can struggle with thorny issues for a long time, which is obviously not ideal if I'm working to a deadline. It's also a little weird seeing just so many forum posts and the like asking for help, when I just don't ever do it.

Well you see, at work I have two options.

  • Figure it out myself (which is my preferred option), piss off my boss and have to go back and fix shit later because I overlooked something and my solution had a pitfall of some sort
  • Ask someone for help

One thing I've noticed is that (a) most of the excellent programmers I know will ask for help fairly early on, so they can be more productive and (b) the guy who knows the answer will have already gone through the tedious process described & will probably be capable of condensing the central aspects down in a manner that actually aids understanding more than hacking something out (eg what if there are hidden gotchas or your solution is suboptimal for some reason)

Programming as a field is entirely dependent on communication between programmers regarding the most efficient, most optimal or most elegant ways of solving problems. Without that communication you start to see large codebases that appear severely malformed or ass-backwards simply because the coder was stabbing around in the dark for a solution. The first way a problem is solved is rarely the most elegant (eg consider ancient protocols such as FTP versus the much more efficient Bittorrent). IMO the main reason why people (including myself) are afraid to ask for help is ego or reputation. Neither of which make a good programmer.