Skip to content

Instantly share code, notes, and snippets.

View nieuwmijnleven's full-sized avatar

JPlus nieuwmijnleven

View GitHub Profile
@nieuwmijnleven
nieuwmijnleven / Making_Your_Java_Code_Null-Safe_without_Rewriting.md
Created December 6, 2025 09:42
Making your Java code null-safe without rewriting

Null-pointer exceptions are a common error in Java, causing inconvenience for many developers. Preventing null pointer exceptions in advance is important, but for developers who want to focus solely on logic, handling them can be tedious. Moreover, it’s not always easy to account for every scenario. Typically, static analysis tools are used to detect potential null pointer issues, but developers still have to find and fix the code themselves. JPlus reduces that burden. Let’s write null-safe Java code with JPlus.


1. Access the JPlus GitHub repository and download the IntelliJ plugin

https://github.com/nieuwmijnleven/JPlus

Image description

@nieuwmijnleven
nieuwmijnleven / Making_Your_Java_Code_Null-Safe_without_Rewriting_it.md
Last active December 5, 2025 12:37
Making your Java code null-safe without rewriting it

Null-pointer exceptions are a common error in Java, causing inconvenience for many developers. Preventing null pointer exceptions in advance is important, but for developers who want to focus solely on logic, handling them can be tedious. Moreover, it’s not always easy to account for every scenario. Typically, static analysis tools are used to detect potential null pointer issues, but developers still have to find and fix the code themselves. JPlus reduces that burden. Let’s write null-safe Java code with JPlus.


1. Access the JPlus GitHub repository and download the IntelliJ plugin

https://github.com/nieuwmijnleven/JPlus

Image description

@nieuwmijnleven
nieuwmijnleven / gist:91be1ee4be38a0a95ee03c8ce512a88a
Created October 30, 2025 15:08
Is JPlus likely to become a mainstream JVM language as a Java superset?
I’m currently working on a project called JPlus (GitHub: https://github.com/nieuwmijnleven/JPlus
) — a modern programming language that runs on the JVM and is designed as a superset of Java. The goal is to maintain full compatibility with Java (allowing existing Java code to run unchanged), while adding modern features like null safety, type inference, data classes/immutables, higher‑order functions, pattern matching, async/await style syntax, and a new apply syntax to reduce boilerplate (see the demo of the IntelliJ plugin here: https://www.youtube.com/watch?v=0z_aIyBpJso
).
Here’s a quick summary of what JPlus offers:
- Full Java compatibility — existing Java libraries and frameworks work without modification.
- Null safety at the language level (nullable types, safe‑access operator etc.).
@nieuwmijnleven
nieuwmijnleven / gist:800a31d7f6ac99cf3f816f00315faa5f
Created October 22, 2025 12:54
🚀 Introducing JPlus – A Java Superset with Built-in Null Safety and Boilerplate Elimination
https://github.com/nieuwmijnleven/JPlus
JPlus is a modern programming language and compiler that acts as a superset of Java —
bringing the benefits of null safety, concise syntax, and powerful declarative features
while remaining fully interoperable with existing Java code and libraries.
✨ Why JPlus?
Java is a powerful and battle-tested language, but developers often face:
Verbose boilerplate (getters/setters, constructors, etc.)
@nieuwmijnleven
nieuwmijnleven / gist:46582fcda490a467d9f9bb931a2a5932
Created October 22, 2025 12:44
🚀 Introducing JPlus – A Java Superset with Built-in Null Safety and Boilerplate Elimination
https://github.com/nieuwmijnleven/JPlus
JPlus is a modern programming language and compiler that acts as a superset of Java —
bringing the benefits of null safety, concise syntax, and powerful declarative features
while remaining fully interoperable with existing Java code and libraries.
✨ Why JPlus?
Java is a powerful and battle-tested language, but developers often face:
Verbose boilerplate (getters/setters, constructors, etc.)
@nieuwmijnleven
nieuwmijnleven / gist:cd41fed32d1e4a6d0029a352a1f20785
Created October 22, 2025 12:38
🚀 Introducing JPlus – A Java Superset with Built-in Null Safety and Boilerplate Elimination
https://github.com/nieuwmijnleven/JPlus
JPlus is a modern programming language and compiler that acts as a superset of Java —
bringing the benefits of null safety, concise syntax, and powerful declarative features
while remaining fully interoperable with existing Java code and libraries.
✨ Why JPlus?
Java is a powerful and battle-tested language, but developers often face:
Verbose boilerplate (getters/setters, constructors, etc.)
@nieuwmijnleven
nieuwmijnleven / gist:b2a9457323f36389a13bb4bba639858e
Last active October 22, 2025 12:17
🚀 Introducing JPlus – A Java Superset with Built-in Null Safety and Boilerplate Elimination
https://github.com/nieuwmijnleven/JPlus
JPlus is a modern programming language and compiler that acts as a superset of Java —
bringing the benefits of null safety, concise syntax, and powerful declarative features
while remaining fully interoperable with existing Java code and libraries.
✨ Why JPlus?
Java is a powerful and battle-tested language, but developers often face:
Verbose boilerplate (getters/setters, constructors, etc.)