• 23 Posts
  • 44 Comments
Joined 2 years ago
cake
Cake day: April 5th, 2024

help-circle
  • NPEs in Java usually have 2 causes and they are easily preventable:

    1. Parsing or deserializing data that must be present but is not. Fix: Add a validator or (introduced in Java 17 - 4 years ago) use records and do simple null validation there
    2. Devs coding weird shit that might or might not return null. Fix: Use annotations like NotNull/Nullable or the Optional wrapper (introduced in Java 8 - 11 years ago). There is also progress underway to be able to explicity declare type nullness, however - as always - Oracle invests more money into it’s lawyers instead of their devs, so it will take some time until this will be available.

    The problem is not really language specific because quite the same can also happen in any programming language, the symptoms/errors are just different.



  • They just removed obfuscation from Java Edition. If they even try to do a single stupid move - like with chat reporting a few years ago - it will be simply modded out of the game.

    The only thing that they might be able to do is increase the price for buying the game, mess with the accounts or illegally change their EULA - without notifying anyone - again.

    Bugrock Edition on the other hand is already a dumpster fire for years, so nobody really cares about that one in the first place…

















  • Well if you want a real world comparison:

    We migrated a project a few years ago from Eclipse to IntelliJ. Outcome:

    • Complains about the IDE dropped from around 10 per day to nearly 0
    • Onboarding people now takes 1h instead of a day, because IntelliJ knows how to store configuration in a project
    • IntelliJ has a built in updater and nearly everything works after an update
    • IDE Fuckups: 1 per week (Eclipse) -> 1 per year (IntelliJ)
      • Somehow still happend? Just click “Delete caches and restart” in IntelliJ
    • No sources and javadoc for a library available? Eclipse: Have fun reading bytecode; IntelliJ: Yeah I just decompiled it for you within 10s

    So yeah I wouldn’t recommend going back into hell. Even VSCode and it’s forks are likely better at this point.