by Steve_Baker · 14y ago · 0 comments
for(int i=1; i <= 100; i++)
printf((char *[]){"%d\n","Buzz\n","Fizz\n","FizzBuzz\n"}[((i%3==0)<<1)|((i%5)==0)], i);Why they do it one way or another is an occasionally interesting follow up question.
1_,`0:'{:[~x!15;"FizzBuzz";~x!3;"Fizz";~x!5;"Buzz";$x],"\n"}'1+!100
(Thats https://github.com/kevinlawler/kona)[Edit: Found a way to shave off three chars]
However, yes it is huge it's Objective C with whitespace what do you expect? ;)