Brought to you by @brunoborges and @GitHubCopilot

Joined March 2026
Photos and videos
☕ Sealed classes for type hierarchies Restrict which classes can extend a type — enabling exhaustive switches. Open Hierarchy → sealed permits (JDK 17 ) 🔗 javaevolved.github.io/langua… #Java #JavaEvolved
1
2
6
521
☕ HexFormat Convert between hex strings and byte arrays with HexFormat. Manual Hex Conversion → HexFormat (JDK 17 ) 🔗 javaevolved.github.io/dateti… #Java #JavaEvolved
1
7
644
☕ Multi-file source launcher Launch multi-file programs without an explicit compile step. Compile All First → Source Launcher (JDK 22 ) 🔗 javaevolved.github.io/toolin… #Java #JavaEvolved
1
10
667
☕ String.strip() vs trim() Use Unicode-aware stripping with strip(), stripLeading(), stripTrailing(). trim() → strip() (JDK 11 ) 🔗 javaevolved.github.io/string… #Java #JavaEvolved
1
4
415
☕ Module import declarations Import all exported packages of a module with a single declaration. Many Imports → import module (JDK 25 ) 🔗 javaevolved.github.io/langua… #Java #JavaEvolved
1
5
356
☕ Static methods in interfaces Add static utility methods directly to interfaces instead of separate utility classes. Utility classes → Interface static methods (JDK 8 ) 🔗 javaevolved.github.io/langua… #Java #JavaEvolved
1
2
15
1,113
☕ Pattern matching for instanceof Combine type check and cast in one step with pattern matching. instanceof Cast → Pattern Variable (JDK 16 ) 🔗 javaevolved.github.io/langua… #Java #JavaEvolved
2
20
983
☕ Writing files Write a String to a file with one line. FileWriter BufferedWriter → Files.writeString() (JDK 11 ) 🔗 javaevolved.github.io/io/wri… #Java #JavaEvolved
1
7
499
☕ Strong random generation Get the platform's strongest SecureRandom implementation. new SecureRandom() → getInstanceStrong() (JDK 9 ) 🔗 javaevolved.github.io/securi… #Java #JavaEvolved
1
12
921
☕ Unnamed variables with _ Use _ to signal intent when a variable is intentionally unused. Unused Variable → _ Placeholder (JDK 22 ) 🔗 javaevolved.github.io/langua… #Java #JavaEvolved
1
3
17
1,173
☕ String.repeat() Repeat a string n times without a loop. StringBuilder Loop → repeat() (JDK 11 ) 🔗 javaevolved.github.io/string… #Java #JavaEvolved
2
13
591
☕ Optional.ifPresentOrElse() Handle both present and empty cases of Optional in one call. if/else on Optional → ifPresentOrElse() (JDK 9 ) 🔗 javaevolved.github.io/stream… #Java #JavaEvolved
8
37
2,181
☕ Math.clamp() Clamp a value between bounds with a single clear call. Nested min/max → Math.clamp() (JDK 21 ) 🔗 javaevolved.github.io/dateti… #Java #JavaEvolved
1
1
4
576
☕ Guarded patterns with when Add conditions to pattern cases using when guards. Nested if → when Clause (JDK 21 ) 🔗 javaevolved.github.io/langua… #Java #JavaEvolved
4
23
5,033