Tuesday, December 11, 2007

Pill #2

Effective C++: Prefer consts, enums and inlines to #defines
Long story short, avoid #defines where you can. I don't really use them much but it's great to know why not to use them and what the better alternatives are.

C++ Coding Standards: Compile cleanly at high warning levels
I'm guilty of not compiling cleanly, but I am taking a stance to make sure I do from this point forward. Mainly I've had unused variables, so I don't feel too bad.

Design Patterns: Builder
I like this pattern. I have this issue with how I handle my database schema version upgrades and I think this pattern is the key.


Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home