"You Aren't Gonna Need It" (YAGNI)
Out of all coding principles, this has saved me the most time and headache.
en.m.wikipedia.org/wiki/You_are...
"You Aren't Gonna Need It" (YAGNI)
Out of all coding principles, this has saved me the most time and headache.
en.m.wikipedia.org/wiki/You_are...
"Optimize for change first"
What to do depends on what will make it easiest to change in the future. AHA is deferring that decision until you know what that change future looks like.
"Optimize for change first"
What to do depends on what will make it easiest to change in the future. AHA is deferring that decision until you know what that change future looks like.
A more nuanced guide to decide whether to WET or DRY is Avoid Hasty Abstractions (AHA)
See kentcdodds.com/blog/aha-pro...
A more nuanced guide to decide whether to WET or DRY is Avoid Hasty Abstractions (AHA)
See kentcdodds.com/blog/aha-pro...
Like in kitchens, DRY is often the right choice. But it's terrible for soups or meats. It's rarer, but there are cases to prefer Write Everything Twice (WET).
The often cited rule is DRY at 3 copies of the code, WET for 2. See en.m.wikipedia.org/wiki/Rule_of...
Like in kitchens, DRY is often the right choice. But it's terrible for soups or meats. It's rarer, but there are cases to prefer Write Everything Twice (WET).
The often cited rule is DRY at 3 copies of the code, WET for 2. See en.m.wikipedia.org/wiki/Rule_of...
I moderate at r/GraphicsProgramming. I'm going to share this newsletter there every week if no-one else posts it first.
I moderate at r/GraphicsProgramming. I'm going to share this newsletter there every week if no-one else posts it first.