Every now and again I get the desire to learn C++, but I rarely follow up on it consistently. I usually get the bug when some small, simple program isn’t working correctly or has a tiny bug or something and I just *know* that if I knew a bit more and could get in there and tinker around, I could probably figure it out. That’s actually what happened with my little mythvideo patches which I’m so proud of, even though they’re all about 5 lines each.
This time around, the bug that hit me was in vobcopy. The program itself is excellent, and works 99% of the time. The fault is really that about 1% of DVDs that I try to rip will just scream and screech at anything that tries to touch them, and I’m awfully curious why.
Being a programmer myself, I have a theory. My guess is that there’s just some small variable that is overlooked, or some sanitization that is assumed and just throws the whole thing for a loop. I’m obsessive about a lot of stuff, but programming is one of my extremes — I have a style of checking and verifying all possible external input and strictly checking it to make sure it fits exactly what I’m asking for. Basically, make no assumptions.
That’s kind of why I think I would like C++ so much, in that it’s incredibly strict. I love writing hard core code, in the sense that it cannot possibly break because you’ve accounted for every variable. C++ has stuff like that built in, so I think we’d be a good match.
I just wish I could follow through on the desire and commit myself to learning it.