Are You Using This NEW Java Feature?

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 23

  • @DenaTollefson
    @DenaTollefson 5 месяцев назад +3

    The string templates feature looks awesome, Will. Excellent video showing this new capability!

  • @fzycold8652
    @fzycold8652 5 месяцев назад +2

    Great video!
    Could you please do a video about daemon thread, and thread interrupt exception. If there is, I haven't seen it.

    • @willtollefson
      @willtollefson  5 месяцев назад

      Thanks for the comment! Yes I can do a video on that. I haven't hit on that subject yet

  • @voimalaitos
    @voimalaitos 5 месяцев назад +1

    Thank you for your detailed videos! Any chance creating one about the classloader?

    • @willtollefson
      @willtollefson  5 месяцев назад +1

      Sure! I'll need to do a refresher myself on some of the lower level specifics, but I think this is a great idea

  • @NatiShen
    @NatiShen 4 месяца назад +1

    Are you planning on doing Spring tutorials in the future?

    • @willtollefson
      @willtollefson  4 месяца назад

      That depends. Do you want to see Spring tutorials? 🙂

    • @NatiShen
      @NatiShen 4 месяца назад +1

      @@willtollefson of course !!! There are no good ones online. You explain the best both for new programmers and more advanced.

    • @willtollefson
      @willtollefson  4 месяца назад +1

      I'll be sure to get to this when I can! I've been taking a short break recently while I have a very little one at home, but I hope to get back into a more regular posting schedule in the future!

    • @NatiShen
      @NatiShen 4 месяца назад +1

      @@willtollefson thanks a bunch

  • @NatiShen
    @NatiShen 5 месяцев назад +1

    Hi will. Can you do an advanced video about threads, synchronised, volatil etc ?

    • @willtollefson
      @willtollefson  5 месяцев назад +1

      Thanks for the comment! Here are some videos I've done on those topics:
      Volatile and atomic: ruclips.net/video/31s_DzrkqZc/видео.html
      Synchronized: ruclips.net/video/FpNRXz696ZY/видео.html
      I've also done a few videos talking about runnables in general, virtual threads, and structured concurrency. If those don't scratch the itch, let me know and I can do a video on a specific threading topic.

    • @NatiShen
      @NatiShen 4 месяца назад +1

      ​@@willtollefson Great videos.

  • @hristoistoyanov
    @hristoistoyanov 5 месяцев назад +4

    String templates will not ship in its current state, and was dropped for JDK23

    • @willtollefson
      @willtollefson  5 месяцев назад +2

      Good point - I probably should have mentioned that :) Per what I’ve seen from Brian Goetz they are reworking it and as of now planning some API changes that will make it into future versions.
      There are pros and cons to trying out preview features and this is why they call them previews. Glad we’re making the changes now though rather than having them in the main language

  • @abdullahkhaled6162
    @abdullahkhaled6162 4 месяца назад

    It will removed in the future releases :(

    • @willtollefson
      @willtollefson  4 месяца назад

      Yeah, it was a good concept, but unfortunately had some design flaws that they are working out now. Hopefully it will have a come back in another preview coming up

  • @kangshenggoh9128
    @kangshenggoh9128 2 месяца назад +1

    can explain garbage collector

    • @willtollefson
      @willtollefson  2 месяца назад

      Do you want to know about how garbage collection works in Java in general, or specifically how it would pertain to something like a template expression?

  • @AlFracoAl
    @AlFracoAl 4 месяца назад

    Its cool feature definatly I will use
    but there are people in my company who would revert my code and use jackson instead to create json Don't know how to deal with foolish people specially when the have power and evil intension against you

    • @willtollefson
      @willtollefson  4 месяца назад +1

      Sometimes adopting new ways of doing things takes time. In this situation they aren’t adding the feature in its current state to the language and will probably preview an updated version in a later JDK. Hopefully you can reason with the other folks at your company one way or the other. I’ve often found logical reasoning works well for programmers that program computer logic everyday 🙂

    • @AlFracoAl
      @AlFracoAl 4 месяца назад

      @@willtollefson Thanks but sometimes you find yourself in a place where stubbornness prevails over rationality and logical reasoning.
      But it good these days we have people like you who help others to stay up to date with their videos and other content