3 ms·
One of the features of Ruby is simplicity. In that case, more features will usually mean less simple. The feature of Java and C++ is features, so the way for th
by rubiquity 12y ago
One of the features of Ruby is simplicity. In that case, more features will usually mean less simple. The feature of Java and C++ is features, so the way for them to stay relevant is more features.
- riffraff 12y agoI have used ruby for a long time so 99% of it makes sense to me, but it definitely is _not_ simple. Still, some increase in complexity may be acceptable: we have limited destructuring and case equality, pattern matching would be just a bit better. We have `Struct` which creates classes with positional arguments, but not a version that takes required parame even if it's a natural extension. We might have better composability for mixins etc.. And we can keep removing things (some more perlisms, for one).
- rubiquity 12y agoI agree about removing Perlisms. I love pattern matching and don't think it would be more complex. I just don't think adding pattern matching would be easy or performant given Ruby's syntax.