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

Donnerstag, 7. Oktober 2004

I am back after Scott Meyers

This has been a week with a lot of trouble and stress and it is not over yet, but it began really good.

On monday I attended the seminar held by Scott Meyers. But let me start at the beginning. On Sunday I got in my car and started driving to Ludwigsburg where I wanted to sleep just one night and then in the next morning go to the seminar. But my car said: "No, Lars! You won't go there!". And it started making trouble. OK, no problem. So I decided to go back home (I just had left half an hour before).

When looking for the first train in the next morning I discovered the 5:30 ICE (german hightech train - LOL). Unfortunately did that mean that I had to go with the damn car to the train station in Munich which is 20 km far away from my home. I came there without any problem - nice car, love you. I hurried to the tiket machine. I paid 88 € for the way from Munich to Stuttgard - 88 €. The machine clicked and printed, I took the tiny piece of paper and ran to the train. In the train the conductor took the piece of paper, looked at it and said: "Oh, that's nice, you payed 88 €, but what you show me is not the ticket, but only the receipt - and it is not valid." DAMN SH***T He was a nice man and let me go further to Stuttgard but despite that I had to buy another ticket for the way back for another 36 € - the "Deutsche Bundesbahn" has seen me this day for the last time, I swear!

2 hours after starting in Munich I reached Ludwigsburg and went to the seminar, which was a very remarkable event. I learned a lot and I saw C++ syntax that I wondered why it worked, but Mr. Meyers always said that it did. The seminar was about design patterns, templates and policy based design. In my opinion he presented the subject close to absolutely perfect. I never had seen anybody speak that naturally about such complicated topics. Respect.

And as last, the fact that I am writing this text means that my computer is on its best way back to life - now with a S-ATA Raid ;-)

Sonntag, 3. Oktober 2004

Good and bad news

Normally I wanted to bring the Sniffnose Core SDK a step further, but unfortunately I was not given the chance to do it this weekend.

 Wenn I tried to look up a telefon number yesterday I found out that the harddisk of my computer decided not to work any more. This was what I had to learn the hard way since the machine didn' boot correctly in either the normal or one of the administrative modes. OK, so I do something for my own this weekend and go one or the other round by bike.

Next week will begin with a good event. I am allowed to attend a lesson given by Scott Meyers himself (Effective C++). The lesson is sponsored by the company I work at what I am very grateful for. I will have the chance to learn something about design patterns in combination with templates, so I am very curious about what Mr. Meyers will have to say about this subject.