Re:Streem – a new programming language from Matz
by zem on Thursday December 11, 2014 @02:03PM
(#8736476)
then you'd get
\n
\n
fizz\n
\n
buzz\n
rather than
fizz\n
buzz\n
[ Parent
| on HN ]
Re:Streem – a new programming language from Matz
by dllthomas on Thursday December 11, 2014 @02:13PM
(#8736534)
The canonical FizzBuzz wants
1\n2\nFizz\n4\nBuzz\n...\nFizzBuzz\n
If you did not print anything for some cases, you're right that it could not be unconditional (though it could still be done at the end with a flag).