3 ms·
Its copied from Scala pattern matching, and still isn't as good as it.
by aliakhtar 7y ago
Its copied from Scala pattern matching, and still isn't as good as it.
- pron 7y agoAlmost all features in the Java language are guaranteed to be copied from other languages because it is in Java's "charter" not to introduce features that haven't been tried in other languages first, and then copy only those that have shown a good cost/benefit. The question you should ask is not which features are copied, but which ones aren't.
- mateuszf 7y agoIt's not copied from Scala, there were many languages before Scala which had this feature before.