profile picture

1 pages tagged with "java"

Final classes in PHP | Java | Any

June 06, 2020

blog-cover

Clear contracts, isolated side effects, testability, low complexity and cognitive load, code fluidity, and confidence in yourself.

Clear contracts, isolated side effects, testability, low complexity and cognitive load, code fluidity, and confidence in yourself. Motivation Reduce the scope visibility to the minimum When you see a class prefix with final you will prevent a particular class to be extended by any other, which not …