TLDR
Nude Models - Part II : Getters are an established practice that generates many problems associated with the maintainability and evolution of software. In this second part we will reflect on the reading access of these objects. In the first part of this article, we showed the transition from hidden information in data structures towards living objects responsibilities (the essential what) hiding the implementation (the accidental how) Using getters expose the vertices collection (and since collections are passed by reference in most languages) we lose control over that collection.via the TL;DR App
no story
Written by mcsee | I’m a sr software engineer specialized in Clean Code, Design and TDD
Book "Clean Code Cookbook"
500+ articles written