Feb 24 2006

Minimise getters

Published by at 12:09 under Java

Martin Fowler has an article on how minimising getters helps you think OO. Good points, and I try to minimise getters to when i need them. But the invent of generate getters/setters in the mainstream IDEs has led a lot of people to just generate it all. I’ve seen fair bit of code that could need a cleanup of the getters. :)

No responses yet

Leave a Reply