4 ms·
Fizz Buzz rules here: https://en.m.wikipedia.org/wiki/Fizz_buzz https://en.m.wikipedia.org/wiki/Fizz_buzz Rules for actually using this crate: Don't :-). That
by dwheeler 6y ago
Fizz Buzz rules here: https://en.m.wikipedia.org/wiki/Fizz_buzz 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 :-).
- Gaelan 6y agoOf course, anything this complicated should probably be a proc macro in Rust.