3 ms·
From the first chapter of 'Refactoring': "Was it worth it? The gain is that if I change of the price's behavior, add new pricess, or add extra price dependent
by digitallogic 17y ago
From the first chapter of 'Refactoring':
"Was it worth it? The gain is that if I change of the price's behavior, add new pricess, or add extra price dependent behavior, the will be much easier to make."
Massive functions start out as small and then large ones. If a business logic function has to grow every time there's a new rule that could live behind an abstraction, it's on the path to becoming massive.