Re:Java 21 makes me like Java again
by kaba0 on Sunday September 17, 2023 @02:40AM
(#37542163)
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!
[ Parent
| on HN ]
There are no comments on this comment yet.