Re:Java 21 makes me like Java again
by pharmakom on Saturday September 16, 2023 @05:42PM
(#37538996)
It's also not expression orientated yet.
[ Parent
| on HN ]
Fortunately switch has now an expression variant. But I would die for an if-else expression (very subjective, but I would prefer a more verbose if-else to ternaries), and especially a try-catch expression!