Modern Java in Action • Nicolai Parlog • GOTO 2024

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

ความคิดเห็น • 19

  • @2k5325i
    @2k5325i 26 วันที่ผ่านมา +3

    Excellent presentation. I’m dying to see all the potential implementations of StructuredTaskScope to make our applications beautifully simple and rich!

  • @TechTalksWeekly
    @TechTalksWeekly หลายเดือนก่อน +2

    This talks is excellent and Nicolai is a brilliant speaker, that's why it has been featured in the last issue of Tech Talks Weekly newsletter 🎉
    Congrats!

  • @CasimirPohjanraito
    @CasimirPohjanraito 4 วันที่ผ่านมา

    Modern implies "before 1980's" as modernism was an era before post-modernism, and modernism typically is thought to have happened between1950's and 1970's, and post-modernism somewhere in 1980's and 1990's, depending on locale and culture. 🙃 Thank you for the presentation, learned some contemporary Java things!

  • @tarunsingh7608
    @tarunsingh7608 หลายเดือนก่อน +6

    @GOTO, One of the Finest Conference channels which is Highly underrated>>
    Any current or Future Backend Java Engineers must Follow to Learn New Features n System Design concepts

    • @haroldpepete
      @haroldpepete หลายเดือนก่อน +3

      underrated with 1 million of subscribers really close! reallyyy

  • @arkadiushauke6258
    @arkadiushauke6258 หลายเดือนก่อน +4

    great speak!

  • @asterixcode
    @asterixcode หลายเดือนก่อน +1

    how to solve concurrency issues on a distributed system where two requests are handled at the same time by 2 instances of my app, and they both need to access and write to the same entity in a MongoDB database, so no pessimistic locking available?

  • @hansmuster5291
    @hansmuster5291 หลายเดือนก่อน +2

    the "launch multi-file programs" feature is huge.

  • @gustavbw
    @gustavbw หลายเดือนก่อน +2

    I've been using Java for a couple of years now - professionally too. The best (Spring & Spring boot) and the worst (JavaFX, jpms, deprecated java 7 libs... etc) parts - IMO.
    At this point, having explored different technologies in the meantime (GoLang, Express, C#, React, Solid, Svelte, Zig, Docker ... some others I've probably forgotten), Java feels like the embodiment of a sunken cost fallicy. Even when used well, and made look easy, like you do, its just... mid. Not bad. Not good. Just mid.
    There is nothing, that Java does, be it native language feature or part of the standard lib, that is not outdone by multiple other related technologies - besides reflections. That is one thing that I miss at times (and even that Zig does it infinetly better too).
    I don't regret the many hundred hours I've spend in Java so far, for if I hadn't, I wouldn't be able to appreciate just how far the rest of the field has come in the meantime.

  • @sanampakuwal
    @sanampakuwal หลายเดือนก่อน +8

    Please make for C# too!

    • @sfincione2000
      @sfincione2000 21 วันที่ผ่านมา +1

      I think you've missed the point. He talks at the start about showcasing java features... the application isn't the point so my guess is he won't ever be doing the "same" in C#. Why would he? He's a Java advocate.

  • @CernyMatej
    @CernyMatej หลายเดือนก่อน

    Great presentation, but man, it just proves my point: Java is still way behind Scala, even the latest versions. Not to mention Scala 3!

  • @kostian8354
    @kostian8354 หลายเดือนก่อน

    8:32
    Set.copyOf() doesn't solve an issue of somebody calling clear on a collection that is part of your record. For that 3rd guy nothing is changed.
    9:30 default values for arguments solve that issue in Scala, with way less code...
    ADTs spread among different files... OMG

    • @dario-viva
      @dario-viva หลายเดือนก่อน +5

      But Set.copyOf() returns an immutable Set. docs.oracle.com/javase/10/docs/api/java/util/Set.html#copyOf(java.util.Collection)
      so if somebody calls clear() on the collection it will result in a UnsupportedOperationException. The Set will not be modified.

    • @kostian8354
      @kostian8354 หลายเดือนก่อน

      @@dario-viva so when you copy mutable Set you get immutable Set ?))

    • @PterAntlo
      @PterAntlo 27 วันที่ผ่านมา

      @@kostian8354 Yes. What copyOf does is is it gives you a new Set that is a copy of (i.e. contains the same values) as the original Collection. And (same as Set.of) Sets returned by Set.copyOf are immutable.

  • @Tony-dp1rl
    @Tony-dp1rl หลายเดือนก่อน +1

    Wow, Java's thread and task libraries are archaic compared to C#. Doesn't even have basic dynamic hardware thread use.

    • @JoeMwangi
      @JoeMwangi หลายเดือนก่อน +5

      How are virtual threads and structured concurrency archaic?

    • @eddymoreno5624
      @eddymoreno5624 หลายเดือนก่อน +7

      Async await is worse than virtual threads