this post was submitted on 08 Nov 2025
0 points (50.0% liked)
Java
1829 readers
1 users here now
For discussing Java, the JVM, languages that run on the JVM, and other related technologies.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Modern Java already has null safety via the Optional class. If a developer is too lazy to use that, what makes you think they would use JPlus?
In my opinion this one is a bad selling point, because you're really just offering a cleaner looking alternative to what's already there, but you're not focusing on that, you're presenting it as if it solves a problem, which it doesn't.
Unlike Java’s Optional, which is a library feature, JPlus provides null-safety at the language level. It allows developers to write code where null-safety is enforced consistently, without wrapping every value in an Optional. In that sense, JPlus brings the same kind of safety and clarity that Kotlin offers but keeps full compatibility with Java syntax and tooling.