Speak Ruby in Japanese
I am mildly disappointed by the fact that the Japanese Ruby community doesn’t have an amusing non-loanword colloquialism for “hash rocket.”
I am mildly disappointed by the fact that the Japanese Ruby community doesn’t have an amusing non-loanword colloquialism for “hash rocket.”
And we can even add weird things like
Array#forty_two
. You cannot read the comment here, but it says, ‘Equal toself[41]
. Also known as accessing “the reddit”.’ This sort of came out of a thread on reddit where somebody was complaining so loudly – why we would care to addsecond
andthird
andfourth
toArray
. ‘This is redundant! There’s already a mathematical approach to doing the same thing!’ It doesn’t make sense to them. It was weird. Like, why would somebody care about this level of aesthetics? And just to spite them, I addedforty_two
.
David Heinemeier Hansson, creator
of Ruby on Rails, on why it monkey-patches the Ruby Array
class to
provide a forty_two
method