2.11 — Header files

As programs grow larger (and make use of more files), it becomes increasingly tedious to have to forward declare every function you want to use that is defined in a different file. Wouldn’t it be nice if you could put all your forward declarations in one place and then import …

6 ways to write better code

There was an article linked from Digg posted up a couple days ago entitled “6 ways to write better code”. It’s pretty good advice (for the most part), so I thought I’d link it here. http://www.ibm.com/developerworks/linux/library/l-clear-code/index.html?ca=drs- Here are the recommendations of the author, along with my own comments: 1) Comment …