Is that really equivalent? It is only if Size never changes and has 3 enum values (or did I miss something?)
-
-
-
With the values shown, they are same. But if you change Size, you'll need to update your code accordingly.
End of conversation
New conversation -
-
New conversation
-
-
-
Nice!! You can use in Java something like Pattern Matching expressions from 2006 (Scala 2.0)... Wow, a nice step into the f̶u̶t̶u̶r̶e̶ past.
-
By the way I have to say you're doing the best IDEs out there. I use Intellij everyday. Your refactoring features are great!
End of conversation
New conversation -
-
-
So with every update, Java keeps trending towards Kotlin?
-
tending* (stop guessing/messing my words, google
)
End of conversation
New conversation -
-
-
This is like match in rust lol
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Genial! Gracias!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.