3 ms·
The difference between DRY and YAGNI is experience. Both are predicting the future, and you can only do that by having watched code evolve.
by jfengel 2y ago
The difference between DRY and YAGNI is experience. Both are predicting the future, and you can only do that by having watched code evolve.
- bena 2y agoWhat's that saying? "Once is a mistake, twice is a coincidence, three times is a pattern". Having to write something once, just write it. Having to write something twice with small differences, think about it. Having to write something three times? Consider refactoring.