This is kind of a shitpost to begin with. But in Ruby, you can just “open up” existing classes and add shit to them. I wanted a #bisect_left and #bisect_right method to take the left and right halves of a “Range.” My riff, which was tongue-in-cheek, was that if this were JavaScript I’d release this as a gem (library) on its own