It’s a simple way to avoid repeating mistakes.
Author Archives: fooyay
Don’t count on others to test.
Do your job and be responsible.
Testing can find bugs, but it can’t prove the absence of bugs.
It can certainly find bugs, but it is not proof that all is well.
Never ignore an error.
You can’t simply pretend it didn’t happen.
Comments should discuss the current functionality.
Don’t let your comments ramble on about the past or future.
Don’t use comments as version control.
Instead, use version control software, like git.
Avoid comments at the end of a code block.
Your block is probably too big.
Use the right data types.
Don’t use a datetime data type if the job calls for a date data type.
Comments cannot enforce types or usage.
Use code for this.
Don’t make local versions.
Avoid making local versions of third party or open source tools and libraries.