• 0 Posts
  • 44 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle



  • Nah, Hibernate, Spring and most major Java frameworks have largely moved away from XML. It’s still supported, but these days it’s mostly configured in the code directly, with properties loaded from yaml, JSON or the environment (for containers).

    The JDK ecosystem is in a pretty good spot nowadays. With Spring boot you can whip up a productions ready back-end very fast, or if you prefer a more hands-on approach there are lighter frameworks/libraries quarkus or micronaut.

    The Java language itself has evolved fast and is actually pretty nice now, and if you prefer something more modern akin to TS or swift you can just use Kotlin which is almost 100% interoperable with Java.


  • Since Java 14 it looks like this:

    Exception in thread “main” java.lang.NullPointerException:

    Cannot invoke “String.toLowerCase()” because the return value of “com.baeldung.java14.npe.HelpfulNullPointerException$PersonalDetails.getEmailAddress()” is null

    at com.baeldung.java14.npe.HelpfulNullPointerException.main(HelpfulNullPointerException.java:10)







  • loutr@sh.itjust.workstomemes@lemmy.worldIt's beautiful
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    7 months ago

    what force might have coerced Microsoft to behave more reasonably, in that situation?

    Strong antitrust and anti-corruption laws. Their actions were not “unreasonable”, they were straight up illegal.

    Edit: also you should read up on the whole thing. They didn’t break compatibility with their own office suite of course. What they did is lie to (and almost definitely pay off) the standardization body: “here is the spec for OpenXML, you see we’re open it’s right here in the name, anyone can implement it and be interoperable with us”. So OpenXML was standardized along with OpenOffice’s OOXML (at the start of the process, only OOXML was considered for standardization).

    Once the deed was done, they of course didn’t implement OOXML in MS Office (as is their right), but they also didn’t implement their own OpenXML spec properly, which means OpenOffice still had to reverse-engineer an intentionally obfuscated and broken format to try and read/write documents compatible with MSO.

    So the whole thing has been absolutely useless, except for a couple of “experts” from the panel who came out of it a bit richer.