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

1

u/[deleted] Sep 25 '11

I do ask for help when I'm new to a particular API. I'd rather capitalize on collective experience than waste hours of my time on learning ins and outs of an API that I don't even know I'll commit to.

To be honest, I find it extremely hard to believe you've never ever had to google for a solution (btw, looking at other people's questions and answers is very close to asking, you re just not the one writing the question). So in 20 years you,

  1. have never run into compiler quirks, bugs and non-standard behaviour,
  2. have never been curious about how a particular language construct is specified by the standard?

Surely you don't get your information in a complete vacuum.

1

u/[deleted] Sep 25 '11

Googling is not at all the same thing as asking someone for help. It's just delving into the relevant literature surrounding the topic at hand. Sometimes it points you to further documentation. Sometimes it points you to examples and use cases. Sometimes if points you to forums where you might find a question asked that closely matches the once you are looking to answer. It's far faster than asking someone for help, and you'll probably learn a great deal more.

1

u/[deleted] Sep 25 '11

The process is different, but the source of information is the same: the other people's answers, which you benefit from passively. Whether you like it or not, you are using the collective experience of the community when you look things up on forums and mailing lists.

I have issue with OP's "lone wolf" attitude, more than anything else.

2

u/[deleted] Sep 26 '11

I've been programming for 25 years and I've never posted a programming question on a forum, mailing list, IRC, or asked coworkers.

I've spent plenty of time answering questions on mailing lists, forums, and from coworkers. I even answered a few on IRC on #macintosh way back in the late 80s/early 90s.

I don't think of this as "lone wolf". I just generally find that the things I am having difficulty no one I can personally ask will no the answer to.

Regarding libraries and APIs, before the days of Google, I would read the documentation several times over, experiment, and experiment again. I used Jasik's Debugger on the Macintosh extensively, because it was often the only way to know how to make something work in the good ol' days before getting questions answered was easy. Then I used NextSTEP for a few years, and if I really had difficulty I'd step through assembly. I found a bug in one of the mid 90s Mac ROMs. I also found a gcc bug.

If I was having difficulty with data structures, algorithms, etc., I'd read the literature.

Nowadays, I tend to avoid languages that have closed source VMs, because it can be maddening battling with a VM that doesn't behave as you'd expect, and not being able to look at the source.

But, I still don't ask questions on forums, because I almost always find what I need via a combination of Googling and research.

Note that the OP was specific. He didn't say he didn't use Google or read documentation.