in reply to Re: The FizzBuzz Thing :(
in thread The FizzBuzz Thing :(

Whether the reuse of 3/5 modulo is ideal or not, is itself a contentious point. Codifying it with three conditions is a straight-forward translation of the three rules in the english problem description and arguably carries the logic in clearest of manner. (I suppose the test reveals a bit about your thinking though — grasp of modulo arithmetic, clever vs readable, etc.)

Replies are listed 'Best First'.
Re^3: The FizzBuzz Thing :(
by Your Mother (Archbishop) on Dec 25, 2015 at 21:22 UTC

    :( I enjoy overly idiomatic code and do it for my own nonsense but would not commit that kind of code in production. Harrumph! …well, unless I was mad at somebody… ˇˇˇMarry Christmass!!! More eggnog!