Minimize number of methods
From CSSEMediaWiki
(Difference between revisions)
(New page: Riel's Heuristic #2.3 Minimize the number of methods in the public interface of a class. This ensures that you can always find the method that you are looking for, and enhances reusabilit...) |
m (Minimize the number of methods moved to Minimize number of methods: Just making it cleaner) |
Revision as of 03:40, 19 August 2008
Riel's Heuristic #2.3
Minimize the number of methods in the public interface of a class. This ensures that you can always find the method that you are looking for, and enhances reusability. This is tied to the idea of You ain't gonna need it - don't implement methods until you need them.