3 ms·
What may help is pondering about object encapsulation, composition and usage patterns. Ie. either be the domain expert, or develop into one by building the doma
by loopz 7y ago
What may help is pondering about object encapsulation, composition and usage patterns. Ie. either be the domain expert, or develop into one by building the domain.
In order to do this, recognize iterations are key and that code must both work today and allow for future evolution.
With clearer goals, one might save time and effort refraining from premature optimization and overzealous refactoring. When direction is unclear, you can comfortably lean on established accomplishments while avoiding regressions.
DRY and YAGNI may thus take a backseat to incrementally deductive design.