Re:Java record pattern matching in JDK 19
by kaba0 on Saturday May 14, 2022 @04:18PM
(#31381916)
Sure, though as I mentioned in other comment, pattern matching is basically a better Visitor pattern. Which is while not the most common pattern, is not that much of a niche either.