javaadvent.com
Give Me a break, or: How to Make Awesome Puzzlers with Java 12 - JVM Advent 2018
Java 12 provides, in experimental form, a switch expression and new forms of the switch and break statements. There is a profusion of new syntax and semantics for constructs that may find little use—except, of course, for authors of puzzlers and certification exam questions for whom this is a wonderful gift. If you enjoy …