They’ll come out at the wrong time and appear to the wrong people.
Monthly Archives: June 2020
Have a strong work ethic.
There are a few simple keys to success, and many of them come from improving the right personal behaviors.
Method names should resemble the domain.
It’s always best to use business words to describe what a method is doing.
Methods shouldn’t depend on prior method calls.
You want your code to be more loosely coupled, so it doesn’t break later.
The Law of Demeter
Chaining a series of methods together can increase dependencies on distant objects.
Don’t use conjunctions in method names.
Two great ideas taste great together, but not in a method.
These can come in handy when refactoring boolean logic.
Name booleans carefully.
Give them names that suggest a binary outcome.
Variable names should describe what, not how.
Leave the how to the implementation.
A variable should have one purpose.
Don’t overload variables into multiple meanings.