by exabrial · 7y ago · 0 comments
This can actually be extended to whole functions as well. doProcessMessage() is terrible but sendMailIfNewAccount() is an improvement.
We have a rule that we don't write comments, instead we write log messages, and we try to write them after every branch corresponds with a business decision.