Hacker News new | ask | show | jobs
by dwheeler 2218 days ago
Fizz Buzz rules here: https://en.m.wikipedia.org/wiki/Fizz_buzz

Rules for actually using this crate: Don't :-).

That said, there are legitimate reasons to implement things at compile time. It means that libraries can create very efficient code that you don't have to write. But like all of powerful capabilities you should beware of misusing them. Like this :-).

1 comments

Of course, anything this complicated should probably be a proc macro in Rust.