5 ms·
He mentions stop writing classes talk in the very beginning.
by xentronium 14y ago
He mentions stop writing classes talk in the very beginning.
- mhd 14y agoWhich he doesn't really address, nor do the two opinions necessarily clash (at least not totally). Diederich's talk is mostly about avoiding to write superfluous classes. Quite often a simple module with one or two function suffices. His examples look quite different from those in the blog post. (Although I have to admit that I skimmed most of them, as I'm in serious eyeroll territory whenever I see the old Java IO API used as a bad example again.)
- xentronium 14y agoGood point. I think author doesn't actually care as much about classes per se as he does about interfaces and extension points. Complexity might get out of hand incredibly quickly, though.