MSDN Community

Java Programming Discussions

RSS

Best practices for handling NullPointerException

Posted by Alice on 2025-09-10
I'm often seeing NPEs in my codebase. What strategies can we use to minimize them? Any patterns or tools you recommend?

Java 21 preview features – what’s worth trying?

Posted by Bob on 2025-09-08
Java 21 introduced a handful of preview features. Has anyone experimented with them? Thoughts on pattern matching for switch and virtual threads?

Spring Boot vs Quarkus – performance comparison

Posted by Clara on 2025-09-05
I'm benchmarking Spring Boot and Quarkus for a microservice. So far Quarkus seems faster to start, but Spring Boot has more mature tooling. Anyone have detailed numbers?