Samstag, 20. November 2004

Learn a bit

Since the seminar last month, something has changed. Unfortunately I am not that sure anymore that I am really able to code C++ properly....

What happened is, that I bought the book Scott Meyers talked about so intensively - Modern C++ Design. And this book is something like a revelation to me. I always though, having a clue about virtual functions and such is the end of the ladder, but this isn't the case. In fact it is the way of old-style C++ coding - at least this is what I think now.

I never ever thought about that fact that I was making the decisions at coding/compile time instead of runtime. It was alwys in my mind that runtime flexibility is the essence of it all - but that's wrong. Forcing a programmer to derive from (base)classes to extend the behavior meant forcing the programmer to understand what was very clear to me instead of letting him think his own thoughts. Now I probably have kind of understood (at least I think this) that  being reusable does not mean being easy to derive from.

Unfortunately this is influencing my view on my project enormously. It makes me stop and think about what I have done so far. It makes me read the book by Alexandrescu. And it makes me think of a redesign - ok, of a re-implementation of my architecture In quite another way,

Well, I guess that this re-implemention will be something like the next step for the project...one reason more to find some handsome hardcore C++ coders that wish to join