Which parts of Ruby do you wish were better?

Whether it’s part of the language or the eco-system…

I wish the second argument to String#split wasn’t a (mostly) magic number. What is this, C? Even in C, there would be a header file with #defines so that someone could understand the code without having to know or look up the meaning of the magic number.

Really, that’s it. The rest of Ruby, I’m fine with. Or maybe I’ll think of something later.

1 Like

Need more small gems with less to none monkey patches!
Or at least we can opt-in for monkey patches…
I really don’t like having a large lib for just one feature (unless I can opt-in)