Settings

Theme

Show HN: The parametric FizzBuzz problem is more interesting than the original

github.com

1 points by thstart 4 years ago · 0 comments · 1 min read

Reader

I recently ran across an interesting problem.

Every time I see FizzBuzz mentioned somewhere on the internet it is the same again and again and I was thinking:

That's a dumb problem like Russ Cox is saying.

But it gets interesting if it is a parametric FizzBuzz!

And what about unit testing it for all possible combinations of input?

How to achieve 100% coverage?

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection