Re:Write More Classes
by jakejake on Tuesday February 12, 2013 @01:54AM
(#5205567)
I must be way out of touch because I had no idea there was an anti-class movement for which the OP has to argue for more classes?
[ Parent
| on HN ]
Re:Write More Classes
by xentronium on Tuesday February 12, 2013 @02:31AM
(#5205659)
He mentions stop writing classes talk in the very beginning.
Which 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.)
Re:Write More Classes
by xentronium on Tuesday February 12, 2013 @04:36AM
(#5205951)
Good 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.