Gen AI | NLP | IoT | Oracle | IC5 Senior Principal Cloud Native Developer | 16 YoExp | Golang | Java Architect | Millions Technical Content Views | Machine Learning | YouTuber | Oracle Cloud Certified | MS - BITS Pilani
Somethings are better unnamed and unnoticed, Agree 😉? [Github and links in comments] Unnamed variables and unnamed patterns previewed in JDK 21 and finalized in JDK 22 [From the JEP] ✅ Captures developer intent that a given binding or lambda parameter is unused, and enforce that property, so as to clarify programs and reduce opportunities for error ✅ Improve the readability of record patterns by eliding unnecessary nested type patterns. Sunit Ghosh #Java22 #OpenJDK22 #Java #JDK #Java22 #Java21 #OpenJDK21 #Java #JDK #Java21
Java 22 : Unnamed Variables & Patterns https://openjdk.org/jeps/456
Gen AI | NLP | IoT | Oracle | IC5 Senior Principal Cloud Native Developer | 16 YoExp | Golang | Java Architect | Millions Technical Content Views | Machine Learning | YouTuber | Oracle Cloud Certified | MS - BITS Pilani
1mo👨💻 🚀 https://github.com/engineersunit/java-twenty-one/blob/main/src/main/java/org/sun/ghosh/java21/UnnamedPatternsVariables.java#L35-L72