Skip Navigation
Java 21: what’s new?
  • They all require the template processor to be specified, but I'm likely to convert hundreds or thousands of lines of existing string concatenation to templates in one of my projects and I really appreciate that the only \{ that show up will be the ones I create.

  • Why is my compound bow draw weight a range?

    My 10 year old and I were recently gifted bows. His has a listed weight of 25-40#, mine is 55-70#. What does it mean that it's a range?

    2
    I like programming.dev and what's happening on my "local" instance, but once i check of what's happening in the wild (other instances) I am reluctant to recommend lemmy to others.
  • What communities/instances are you dominating your /c/all? Asking because I was hoping for more leftist discussion and I'm not really seeing it outside of lemmygrad.

    Edit: I'm mostly following programming.dev and lemmyrs.org, so I'm not really looking too hard. And I appreciate beehaw, but it feels more center left than left.

  • The Code Report: Java is mounting a huge comeback
  • Java 11 allows you to paste in JavaScript and it largely just works

    Var is not Javascript. It's not even type inference. It just reduces redundancy in the boilerplate.

    The module changes are a PITA, but not increasingly difficult. There aren't really other big backwards incompatible changes

    The actual backend improvements keep being pushed

    What changes are you referring to?

  • The Code Report: Java is mounting a huge comeback
  • Can't watch the video right now but it makes a ton of sense that java would be having a resurgence. Pre-java 8 it felt like the every day I ran into problems it would be easier to solve in other languages. I'm still mostly on 8 and it feels pretty modern still. I'm super excited to move to 17 and 21 for all the new features, though.

  • I've been paying attention to the JEPs, but this includes the general API changes that there aren't jeps for.

    0
    m.youtube.com All That is in Java 21?! 😱 - Inside Java Newscast #50

    Java 21 is almost too good to be true: It finalizes virtual threads, sequenced collections, generational ZGC, and the pattern matching basics; evolves the st...

    All That is in Java 21?! 😱 - Inside Java Newscast #50

    virtual threads, sequenced collections, generational ZGC, pattern matching, structured concurrency preview , vector preview, string templates preview

    0
    accessing other instances

    I can consistently access a couple of tech communities at beehaw.org, but consistently cannot access politics@beehaw.org or news@beehaw.org.

    Is this by design, or is it growing pains? I'm willing to wait if it's likely to get fixed but I'll get another account elsewhere if that's just how our federation is set up.

    13
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)PO
    pohart @lemmyrs.org
    Posts 4
    Comments 56