6 ms·
It's not nitpicking to want consistency of convention. When I work with an unfamiliar class in Ruby, or come back to something familiar (say, Array) after a lo
by ianterrell 15y ago
It's not nitpicking to want consistency of convention.
When I work with an unfamiliar class in Ruby, or come back to something familiar (say, Array) after a long time away, I'll often not "know" the exact method signatures for what I want, but I'll just guess something reasonable based on my knowledge of the language and idioms. And, lo and behold, most often it works!
Having to "remember" (does this method use array_?) or "translate" is a mental tax; there's cycles wasted that could keep your mind in the business logic.