4 ms·
Of the languages I've used in anger, Ruby is perhaps my favorite language to write code in. I think Python and Java are both easier to use in a large shared cod
by bcbrown 4y ago
Of the languages I've used in anger, Ruby is perhaps my favorite language to write code in. I think Python and Java are both easier to use in a large shared codebase, and one of the biggest reasons is that it's sometimes a lot harder to see where a method is defined in Ruby. Being able to use method_missing to automatically build a wrapper class or shim is super easy and pretty cool, but it can make it much harder to piece things together when debugging.
I worked at a company that had a codebase split fairly evenly between Ruby, Java, and Python. The Ruby stuff was the hardest to understand, and I think it was primarily because of using patterns around dynamically method definitions.