Golang Concurrency - All the Basics you have to know!

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ • 6

  • @AngryPHPNerd
    @AngryPHPNerd 15 годин тому

    Please don't use time.After() like it is shown here in the Video (At least you ue an go version below 1.23). Especially in a loop. This is a memory leak, because the timer which is created inside will not be released.

    • @FloWoelki
      @FloWoelki  14 годин тому

      That's definitely true! This was a really simplified example, but you are right. Cleaning up the timer and resetting it would be much more appropriate.

  • @esra_erimez
    @esra_erimez День тому

    This is my Go to UA-cam channel for all things related to Go

    • @FloWoelki
      @FloWoelki  День тому

      Appreciate it! Thank you :)

  • @ja31ya
    @ja31ya День тому

    Great video! I have a rudimentary knowledge of channels but I completely overlooked the "select" statement when I was learning them haha, I thought it was just a basic switch.

    • @FloWoelki
      @FloWoelki  16 годин тому +1

      Glad it was helpful! In the end, it's similar to a switch statement, just for channel operations :)