It can certainly find bugs, but it is not proof that all is well.
Monthly Archives: February 2021
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.
Don’t repeat code logic in the comments.
Logic should appear in only one place.
Code with fewer comments will have fewer bad comments.
Yes, and less is more.