Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here is something similar I did in JS

https://gist.github.com/JakeCoxon/d78fa1debc13e46ae54a



I came up with nearly the same solution in swift:

https://github.com/zachcoyle/fizzbuzz-without-booleans/blob/...

But I like your solution better




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: