Allen Holub follows up on his “Why Getters and Setters are Evil” with an article on how to avoid them using J2SE 5 annotations here. Even if you disagree to his statement it is a good basic introduction to annotations.
Categories
Allen Holub follows up on his “Why Getters and Setters are Evil” with an article on how to avoid them using J2SE 5 annotations here. Even if you disagree to his statement it is a good basic introduction to annotations.
2 replies on “Getting rid of getters and setters”
dude, I think you meant to link to:
http://www.javaworld.com/javaworld/jw-03-2005/jw-0321-toolbox.html
Ooops, been fixed now. 🙂 Thanks.