Some habits to get used to
- Add a '// TODO: blah blah' comment everywhere there's something I'm not putting attention to for the moment
- Use assert() on input parameters to functions
- Use constructors/destructors for any class/struct with a allocation/deallocation pattern!
0 Comments:
Post a Comment
<< Home