Tagged articles

Java 10

2 articles · Page 1 of 1
Java Tech Workshop
Java Tech Workshop
May 21, 2026 · Backend Development

The Pros and Cons of Java’s var Local Variable Type Inference

This article examines Java's var local‑variable type inference introduced in Java 10, detailing its benefits such as reduced boilerplate, improved readability, and easier refactoring, while also highlighting drawbacks like potential readability loss, ambiguous types, and strict usage constraints that can lead to bugs if misused.

JavaJava 10best practices
0 likes · 26 min read
The Pros and Cons of Java’s var Local Variable Type Inference
Programmer DD
Programmer DD
Oct 5, 2021 · Backend Development

What’s New in Java 10? Exploring var, Immutable Collections, and Optional Enhancements

This article reviews the key Java 10 features—including the shortened six‑month release cycle, local‑variable type inference with the new var keyword, strengthened immutable collection APIs, the Optional.orElseThrow() method, and other performance and container‑integration improvements—while highlighting best‑practice pitfalls.

Immutable CollectionsJavaJava 10
0 likes · 7 min read
What’s New in Java 10? Exploring var, Immutable Collections, and Optional Enhancements