News for hackers. Stuff that matters.
Re:The most elegant implementation of FizzBuzz by milesvp on Wednesday October 26, 2016 @08:02PM (#12801853)
Probably a valid complaint against code like this. In an organization with a lot of more junior developers I might strike this code in a code review as being non obvious. On the other hand, I trust this code more than similar basic conditional based fizzbuzz since there's no conditionals or nested logic to get wrong. It's also simple to extend, ie, a 'Bazz' on 7 requirement would be adding one more cycle to the mix.

There are no comments on this comment yet.