3 ms·
> "The whole program" is obviously too big. Of course. > "every public method or function" is obviously too small. Why "obviously"? If it's public, someone
by AnimalMuppet 6y ago
> "The whole program" is obviously too big.
Of course.
> "every public method or function" is obviously too small.
Why "obviously"? If it's public, someone outside the class can call it. That's an external behavior.
- deleted 6y ago[deleted]
- VHRanger 6y agoIf the class is only consumed in the context of one code unit (module, service, whatever) then the class itself is an implementation detail.
- ajna91 6y ago"every" being the operative word. The "feel" for good code that comes with experience is not reducible in practice to a set of black-and-white rules.