Re:Refactoring wars and how to avoid them: what is "simplici...
by Qz on Sunday March 28, 2010 @12:05AM
(#1224190)
Is the goal to hide complexity? Any non-trivial program is going to be complex no matter how you refactor it.
[ Parent
| on HN ]
Re:Refactoring wars and how to avoid them: what is "simplici...
by prodigal_erik on Sunday March 28, 2010 @05:38PM
(#1225278)
For me the goal is to divide the complexity at natural boundaries so I can just focus on a portion of it. Sometimes I care about the abstract contents of an object I'm transmitting. Sometimes I care about how objects in general are serialized into a stream. Sometimes I care about how a stream is spread across TCP packets. But I hardly ever care about all these layers simultaneously, and it'd be harder to make any changes I need if I had to understand and correctly maintain the invariants of all of them.