DEV Community

Discussion on: An Examination of Fizzbuzz

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

I consider the second one to be overly abstracted. The first one is far simpler. It implements the requirements fully without any overhead. Planning for being adaptable is part of YAGNI syndrome. Things are easy to refactor when new requirements are added. Adding complexity in advance is counter-productive.