Thursday, November 04, 2004

Some habits to get used to

  1. Add a '// TODO: blah blah' comment everywhere there's something I'm not putting attention to for the moment
  2. Use assert() on input parameters to functions
  3. Use constructors/destructors for any class/struct with a allocation/deallocation pattern!


0 Comments:

Post a Comment

<< Home