Give me a boost Boost

I’ve not been programming full time since the end of 2002. Ah, those were the days…strong coffee and err RSI a plenty 😄

I am just about to embark on a heavy duty bit of programming, likely to last a few intense months. I’ll fill you in about the reason why in another post.

Anyway, I’ve just been having a peek at all of the new C++ goodies and my, haven’t the C++ standards people been busy. I don’t know why, but I am struggling with the new features. It doesn’t seem to matter how many books I read about generic programming, none do a good job explaining the new features.

Take a look at the Boost library. C++ is finally getting a library as high quality and broad in scope as many of the scripting languages like Perl and Python have had for some time. The main problem is the steep learning curve. It would be nice to play around with the various sub-libraries contained inside Boost, but time is always at a premium.

So, what’s the answer. Well, pragmatically I’m going to ignore all of those nice new features. Learning whilst in production mode is one of the more stressful things you can do in programming. Also, the resulting code is rarely of high quality.

As a pragmatic programmer I am going to write the code in a style I already know with a liberal sprinkling of unit tests. That way, I can refactor the code to my hearts content with the firm knowledge that when I break something I will know immediately.