Re:The Sparkling Programming Language
by cmiller1 on Monday November 16, 2015 @12:02PM
(#10575534)
I threw together a quick, naive, FizzBuzz in it on their online demo, was surprised to find that it doesn't have a modulus operator. Can anyone come up with something simpler?
Edit: Correction, apparently it does have a modulo operator.
[ Parent
| on HN ]
Hi, author here. Sparkling does have a modulo operator, it's spelled '%', just as in C (in fact, it maps directly to C's % operator).
Oh! I didn't see it in the list of operators on the tutorial so I assumed it didn't.