Use floats as array indexes in Ruby: [ 1, 2 ][0.5] == 1.5 (Does your brain hurt yet?)