mistaking switch expressions and switch statements
Mateusz Romanowski
romanowski.mateusz at gmail.com
Fri Feb 4 21:31:15 UTC 2022
Hi,
I am reading article "Design implications of Java’s switch statements and
switch expressions" [1] by Vasily STRELNIKOV .
I am confounded by "*Figure 6.* Handling complex situations with a Switch
Expression" which I believe is a new-style Switch Statement as the `default
clause` is removable even though Switch is not total.
Could you confirm my interpretation?
And should it be correct, help to contact author to ask for correction.
Cheers,
Mateusz Romanowski
[1]
https://blogs.oracle.com/javamagazine/post/java-switch-statements-expressions
More information about the amber-dev
mailing list