Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ruby is beautiful

Name: Anonymous 2009-08-26 15:25

class Cycle
    def cycle(*args)
      args[((@_cycles ||= Hash.new(-1))[args.hash] += 1) % args.size]
    end
end

More beautiful code plees?

Name: Anonymous 2009-08-27 21:59

>>31-39
I don't ever want to see this toy fibonacci language on my /prog/ ever again. Stop posting.

And if you want to program, use a real language like C or Perl.

Jesus.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List