Scalable apply only to big picture. It's quicker to make this match the required spec and refactor it when they change than to plan for a potential change in 6 month that might or might not happen. We have a saying in my team "dont waste 4 hours to save 2 in 6 months"
Disagree. A solution that builds the whole pattern is both shorter and more pythonic. FizzBuzz is a learning task. To not learn with it and "just hit the spec" fails its purpose, imho.
View all comments
Show parent comment
-22
u/Bosonidas Feb 28 '26
The "FizzBuzz" is hard coded. If i asked you to add "Ruzz" on % 9 the code would need to change a lot and possibilities would skyrocket.
See tom scott video on this for decent solutions and explainations.