r/ProgrammerHumor • • Jan 16 '14

[deleted by user]

[removed]

1.3k Upvotes

446 comments sorted by

View all comments

Show parent comment

1

u/iopq Jan 17 '14

Holy shit, this is finally the correct FizzBuzz solution. I was annoyed how I couldn't come up with one that solves the problem in a maintainable way (since it's pattern match on all the cases at the same time + default case)