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

FizzBuzz is not about the modulo operator. You can write it pretty easily without it, in several different ways. If you can't figure out how pretty quickly, you're not a good programmer. Sorry.

It is even kind of reasonable to just substitute a call to some black-box is_divisible_by() if you can't figure out how to do that test ...



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

Search: