[–] [S] -2 points 7 months ago

JADEx is a solution designed to enhance null-safety in Java. Its key advantage is that existing Java developers can gain null-safety and immutability without any learning curve. As a result, compared to migrating to Kotlin, JADEx offers a much more cost-effective way to significantly improve the stability of the legacy Java codebases that many companies continue to operate.

In addition, JADEx provides immutability, allowing developers to strengthen immutability without the verbose use of the final keyword.

  • source
  • parent
  • context
  • [–] [S] 2 points 7 months ago (2 children)

    Let me correct a misunderstanding. JADEx was created as a Java superset language to strengthen Java’s insufficient null-related type system. In JADEx, Java’s reference types are assumed to be non-null by default, and through the nullability static analysis results provided by JADEx, developers can explicitly choose to mark types as nullable. Because of this, there is no problem using null-safe access operators and the Elvis operator.

    To summarize:

    • Java: All types are nullable; there is no non-null type. Therefore, Elvis operators and null-safe access operators cannot be used.
    • JADEx: Both nullable and non-null types exist. Therefore, Elvis operators and null-safe access operators can be used.
  • source
  • parent
  • context
  • [–] [S] 1 point 10 months ago

    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.

  • source
  • parent
  • context
  • [–] [S] 1 point 10 months ago

    What sort of financial situation are you in that 40$/month is sufficient?

    I survive each day with just a bag of potato chips. Now, I’m reaching a point where even that is no longer possible. But rather than begging, I believe it’s right to offer my skills, bring value to others, and earn rewards in return. In the midst of a very difficult time, I came up with the idea for JPlus, and I’m deeply grateful for that. Without this project, I would have been in a much more troubled mental state. Through this project, I continue to dream of a hopeful future.

  • source
  • parent
  • context
  • [–] [S] 2 points 10 months ago (3 children)

    It’s true that the project is still in its early stages and not very large yet. I believe that with consistent effort, the number of people contributing to this project, as well as those who want to use JPlus, will grow over time. Thank you.

  • source
  • parent
  • context
  •  

    Hi everybody, this is the JPlus development team.

    JPlus is a Java superset programming language, extending standard Java syntax with additional features. So far, we have introduced null-safety and boilerplate code generation features. Currently, we are planning to add Named Parameter support to JPlus. This feature allows specifying parameter names explicitly when calling methods or constructors.

    The point we would like to discuss is whether to support Default Values.

    Option A: Named Parameter only

    • Pros: Simpler syntax, minimal implementation and learning overhead

    • Cons: Call sites may become longer in some situations

    Option B: Named Parameter + Default Value

    • Pros: More concise code, allows omitting some arguments when calling

    • Cons: Can make code slightly harder to read if too many defaults are used

    We would like to gather opinions on whether default values are truly necessary in practical coding scenarios.

    If you want to learn more about JPlus, please refer to the links below:

    [–] [S] 1 point 10 months ago

    t’s true that JPlus holds a similar position to TypeScript. However, it is a programming language. Here’s a definition quoted from the main page of the TypeScript website -> “TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.”

    Similarly,

    JPlus is a Java superset programming language — fully compatible with Java, offering modern language features like null safety, boilerplate code generation, and other enhancements to reduce developer burden and maximize productivity.

  • source
  • parent
  • context
  •  

    This post is a “promotional” message regarding support for the JPlus project. If such posts make you uncomfortable, please feel free to skip reading this.

    I am currently working full-time on a project called JPlus(https://github.com/nieuwmijnleven/JPlus) which is a fully Java-compatible superset language offering modern safety and expressiveness. With JPlus, you can enhance your Java code’s safety and expressiveness without rewriting it, while fully leveraging existing Java libraries and tools.

    Personally, I believe this project is a truly great idea and can bring significant benefits to the Java developer community.

    Below is an article on how to provide null‑safety to Java code without rewriting the code, by using JPlus and the JPlus IntelliJ Plugin. Making your Java code null-safe without rewriting

    Since the moment I came up with the idea, I have devoted all my time to developing JPlus. To be honest, I am about to reach a financial limit. To be even more candid, my financial situation was already dire when I started this project, but I believed that this project could be my lifeline. Because of that belief, I invested all my time and managed to release the MVP version of JPlus and the IntelliJ Plugin within a short period.

    I am not asking for a large amount. Having already lost almost everything, completing a meaningful project like JPlus has become my ultimate goal. If 20 or more people could contribute just $1–2 per month each, I would be able to survive minimally while continuing development.

    I used to think that nobody would find themselves in such a difficult personal situation in today’s world, but experiencing it firsthand has been an unexpected reality.

    I want to continue working full-time on JPlus, but my funds will run out in just a few days, which is why I am writing this post.

    If this message makes anyone feel uncomfortable, I sincerely apologize once again. That said, if you find this project interesting or believe it could help the Java community, even a small contribution would mean a great deal.

    Become a Sponsor via Github

    Become a Sponsor via PayPal.me

    submitted 10 months ago* (last edited 10 months ago) by to c/programming@programming.dev
     

    JPlus is fully compatible with Java, offering modern language features like null safety, boilerplate code generation and other modern language features to reduce developer burden and maximize productivity.

    Notably, there is currently no ‘superset’ language that keeps Java syntax almost intact while extending the language with features like null checks at the language level. JPlus aims to fill this gap, providing a language that existing Java developers can naturally learn and adopt.

     

    JPlus is fully compatible with Java, offering modern language features like null safety, boilerplate code generation and other modern language features to reduce developer burden and maximize productivity.

    Notably, there is currently no ‘superset’ language that keeps Java syntax almost intact while extending the language with features like null checks at the language level. JPlus aims to fill this gap, providing a language that existing Java developers can naturally learn and adopt.

    submitted 10 months ago* (last edited 10 months ago) by to c/programming@programming.dev
     

    JPlus is fully compatible with Java, offering modern language features like null safety, boilerplate code generation and other modern language features to reduce developer burden and maximize productivity.

    Notably, there is currently no ‘superset’ language that keeps Java syntax almost intact while extending the language with features like null checks at the language level. JPlus aims to fill this gap, providing a language that existing Java developers can naturally learn and adopt.

    view more: ‹ prev next ›