4 ms·
I'm a full YAGNI convert as well. And I've developed a strong belief that some amount of duplication is almost always better than the wrong abstraction.
by encoderer 12y ago
I'm a full YAGNI convert as well. And I've developed a strong belief that some amount of duplication is almost always better than the wrong abstraction.
- codeulike 12y agosome amount of duplication is almost always preferred to the wrong abstraction This. This concisely expresses something I've learnt in the last few years but have struggled to write down. Generalising is great until you generalise in the wrong direction, then it creates extra complexity in all the other directions.
- mreiland 12y agoI agree, see my reply to the post you were replying to.
- mreiland 12y agoabsolutely. I'm also a big believer in not making decisions until you have more information. Being honest enough to say "I don't know how this will evolve in the future", so implement/duplicate/whatever until you have a better idea. then generalize as needed (if it's needed at all). You save time and effort by choosing not to make a definite decision on which way to jump with that abstraction.