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:

  • theherk@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    9 hours ago

    Forgive me if I sound negative, but when you say team… what do you mean? Seems like one person with a few commits. Not that it isn’t a very serious attempt at tackling a massive challenge; I’m just curious. Looks a bit like a vibe coded attempt at solving a few things you don’t like about Java. And hey, more power to you.

    • JPlus@programming.devOP
      link
      fedilink
      arrow-up
      2
      ·
      8 hours ago

      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.

      • theherk@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        8 hours ago

        Okay. You must realize it is weird to use the term “development team” to describe a one person side project. Also, are you willing to disclose to what extent and which models were used to create this project?

        • JPlus@programming.devOP
          link
          fedilink
          arrow-up
          1
          ·
          8 hours ago

          Okay. You must realize it is weird to use the term “development team” to describe a one person side project. Also, are you willing to disclose to what extent and which models were used to create this project?

          JPlus is an open-source project. Anyone can review the implementation details on GitHub: https://github.com/nieuwmijnleven/JPlus