2 ms·
Private helper methods indicate classes are doing too many things. Absolutely wrong. Sometimes you do want to hide details. I can imagine many domains where
by stcredzero 17y ago
Private helper methods indicate classes are doing too many things.
Absolutely wrong. Sometimes you do want to hide details. I can imagine many domains where you'd need a priority heap, and where the rest of the object model would care not one bit what goes on inside such a beast. Exposing such details is not useful. Paying for the instantiation of another cluster of little objects to do so wouldn't be helping matters one bit.