Evren Tan on Twitter: "Pattern matching for #Switch is introduced with #Java17 which provides a more flexible way of writing switch cases. Even #instanceof operator can be discarded with #PatternMatchingForSwitch for type
![An example of the transformation of the switch statement into a simple... | Download Scientific Diagram An example of the transformation of the switch statement into a simple... | Download Scientific Diagram](https://www.researchgate.net/publication/224103017/figure/fig5/AS:667588833067011@1536176989444/An-example-of-the-transformation-of-the-switch-statement-into-a-simple-operation-of.png)
An example of the transformation of the switch statement into a simple... | Download Scientific Diagram
![How to do automatic code testing with switch cases on Java Objects and improve your software | Exasol How to do automatic code testing with switch cases on Java Objects and improve your software | Exasol](https://www.exasol.com/app/uploads/2020/06/screenshot_code_coverage_if_cascade.png)