Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on FizzBuzz in Too Much Detail.
a=b=c=(1..100).each do |num| print num, ?\r, ("Fizz" unless (a = !a) .. (a = !a)), ("Buzz" unless (b = !b) ... !((c = !c) .. (c = !c))), ?\n end
Source: http://www.reddit.com/r/ruby/comments/2n987g/the_flip_flop_o...
There are no comments on this comment yet.
Source: http://www.reddit.com/r/ruby/comments/2n987g/the_flip_flop_o...