Ever since last year, we’ve setup subversion to require comments are added before a file can be committed to our SVN repositories. Even just small comments on file commits is helpful.
But what I REALLY want is a subversion hook that requires a file is unit tested before it can be submitted to the repository. Think [...]
Let’s jump right to some code.
They look pretty similar right? Near identical. Neither is really easier or harder to read. Performance wise, I suspect you couldn’t see much of a difference. If you’re thinking to yourself, “Aww geez Steve Nelson is about to go on a week long rampage about something.” You would be [...]
It’s been 10 years since I first heard someone say that global variables are bad news.
To be truthful I didn’t really understand the reason back then. The most common reason not to use global variables is the namespace argument. Basically the problem is that you can accidentally overwrite another variable. Yeah ok, I guess that’s [...]