Encapsulation and Accessor Methods with the Future in Mind

“Always write your code with the assumption that it will one day need to be extended even if the current specification or business logic does not make that apparent”. Based on my own experiences, this would be one of my top tips for anyone involved with a project or even just a bit of code […]