News for hackers. Stuff that matters.
Re:Do-nothing scripting: the key to gradual automation (2019) by Jtsummers on Wednesday November 03, 2021 @01:50PM (#29098065)
It's important to remember that YAGNI is a guideline not a rule. If someone spends 10-minutes thinking about the future instead of writing code immediately, and they realize a need that introduces some extra upfront effort but reduces longterm maintenance (fewer changes in the future because it already matches the desired structure), then YAGNI doesn't apply. For standard work, this is a pretty common situation to find yourself in: Recognizing that you've done X before and it led to a particular structure, so when doing X' start with the final structure instead of insisting on 100 extra refactors along the way.

There are no comments on this comment yet.