I am having trouble understanding the purpose of Unconditional Patterns

David Alayachew davidalayachew at gmail.com
Mon Jan 2 13:56:04 UTC 2023


Whoops, I don't think I ever did link the blog from Nicolai Parlog.

Here it is --
https://blogs.oracle.com/javamagazine/post/java-pattern-matching-switch-when-null

Also, here is the StackOverflow post I made with the best understanding I
could make of Unconditional Patterns.

https://stackoverflow.com/questions/74978988/what-are-unconditional-patterns-java-19-preview-unconditional-patterns-in-i

If you, or anyone else, has some better insight on the subject, please feel
free to let me know here or on the StackOverflow. Since this is a subject
that is hard to research, I feel like adding to that post will be valuable.
Maybe I am wrong though, since this is a preview feature.

Thank you again for your help and support!
David Alayachew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20230102/b2941e5c/attachment.htm>


More information about the amber-dev mailing list