Extract Method
Break long methods into shorter methods.
Commonly used code refactorings to improve your code
Use a simple expression directly when a variable does not add any clarity or value.
Store the result of an expression in a variable with a name that explains its purpose.