01-04-08 - 2

The real problem with C++, for my money, is with medium-sized repeated patterns. For major chunks of complicated operation, you can bundle it up in a class or a library or whatever and that works okay for sharing code, because the pain of wiring and complying with the interface is very small compared to the savings. The problem is that the majority of code is made up of these little tiny patterns that you use over and over, but they're too small to bundle up with the weight of C++. That is, the pain of wiring is too great, you would write almost as much nasty possibly-buggy code to do the wiring as you would to just dupe the tiny little snippet.

No comments:

old rants