Earlier quoted context omitted.
> I (16+ years developer) prefer to iteratively go between coding and designing I have an extra ten years on you and couldn't agree more. There are two jokes: - A few months of programming can save weeks of design. - A few months of design can save weeks of programming. Inexperience is thinking that only one of these jokes is grounded in truth. Recognizing which kind of situation you're in is an imperfect art, and in…
The difference between DRY and YAGNI is experience. Both are predicting the future, and you can only do that by having watched code evolve.
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.