Golang pointers explained, once and for all

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

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

  • @fagnersales532
    @fagnersales532 2 месяца назад +6

    Just started learning Go and I'm amazed that I could learn about Pointers in just 13 minutes. Amazing, never could really understand the idea of it in other languages, but did with easy with your explanation.

  • @ansidhe
    @ansidhe 2 месяца назад +4

    The key thing to grok is:
    & = „address of”
    * = „value at” (of course apart from the * when used to declare a pointer variable 😉)
    Great animations BTW! 👍🏼🤩

  • @santiagosaavedra3724
    @santiagosaavedra3724 Месяц назад

    It was easy to understand because of the graphical content. Having stack and heap graphs along with the code helped me associate those two. Thank you for the video.

  • @mxmlkzdh
    @mxmlkzdh Месяц назад

    Jamie these videos are fantastic! Please don't stop making them. Thank you.

  • @bachdx2812
    @bachdx2812 Месяц назад +1

    awesome video ! we need more of this kind of content on youtube !!!
    great work !

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

    That's such a useful information in 13 minutes
    thank you so much for the content

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

    Just started learning golang after programming in python and javascript for over 6 years. I didn't study CS only IT, so all of this deep level stuff are very new to me, your explanation is super clear, I would recommend this video to people that are also starting out in golang

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

      Right? This is a totally new paradigm for me also with JS background so super interesting. Think I wanna learn go

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

      @@emmm_4465 same thing for me, coming from typescript and learn go, and find out go is interesting to play with, also solved some leetcodes using go, it was fun experience.

  • @juanjoivars3254
    @juanjoivars3254 3 месяца назад +2

    Outstanding explanation, thank you for taking your time.
    I love the graphics shown, it helps a lot of 👍

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

    Thank you for re-uploading this video. I thought it was going to be gone forever after your previous channel.

  • @thmater-x9786
    @thmater-x9786 3 месяца назад +1

    bless the youtube algorithm for this video
    just perfect

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

    Very good and clear explanation.
    Thank you for sharing the knowledge.

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

    Thanks for this video! You explained it very well. I tried a couple videos and I still couldn't get it till this video. Subscribed!

  • @JigangLi-x3z
    @JigangLi-x3z 3 месяца назад

    Nice Explanation. I know there were a long history of debate about "Passing as reference" and "Passing as value". The immunity is a another good angle to think this problem. Thanks so much. The animation is super clear.

  • @KyleHarrington
    @KyleHarrington Месяц назад

    Diagrams on point (get it??). Seriously this channel is a goldmine

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

    Excellent explanation! Thanks.

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

    Your explanation was spot-on, clarifying all the confusing parts, especially the puzzling matter of returning addresses versus copies. And your voice? It's soothing to the mind! Many thanks!

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

    Bless this video

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

    I recently started learning Go and will definitely keep an eye on this channel! Such a nice explanation

  • @kmilorestre5223
    @kmilorestre5223 3 месяца назад

    Just the day after I start learning Go, thanks!!

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

    Really well explained! Amazing job!!! Thank you!!!

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

    This channel deserves more subs, gj Jamie

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

    Great video, I just have a bit of experience with C and this was easy to follow:)

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

    Great Explanation.

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

    Really helpful explanation! Thanks

  • @haroonalbar2725
    @haroonalbar2725 3 месяца назад

    Thanks. really good explanation.👏

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

    Nice and easy explanation, Thank you

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

    Hey, your explanation was really really good!
    I will look into more videos of yours :)

  • @AdiKSingh19xx
    @AdiKSingh19xx 3 месяца назад

    Extremely helpful 😊

  • @MatthieuKHAIRALLAH-x7t
    @MatthieuKHAIRALLAH-x7t 7 дней назад

    Thanks this is a great video :)

  • @davisbento
    @davisbento 3 месяца назад

    Awesome explanation. Thanks!!

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

    great video, great animation. thanks

  • @adardev-po2rg
    @adardev-po2rg Месяц назад

    Hi Jamie, Please create a video on Garbage Collector algorithms.

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

    In Go *int is 2 tokens as in * int. The space is optional. I was also wondering if this subject is better suited to C instead of Go or, better yet, Forth or Assembly. Also, variable names get stripped when compiling normally. It's just address and type.

  • @muhamadasif2802
    @muhamadasif2802 3 месяца назад

    Nice

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

    interface, context, structs and functions plz

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

    Please make videos on concurrency

  • @925082
    @925082 3 месяца назад

    Excellent explanation. May i know how did you make animation and show variable in box and lines what software or things?

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

    Hi! Really great job in the concise explanation! Got a like and new sub!
    One quick question though: Is the heap used when returning normal values as well or just for pointers? Does that heap allocation process happen everytime a function returns?
    Thank you in advance!

    • @vaeris
      @vaeris 3 месяца назад

      Normally a copy of your returned variable will be returned to the calling frame on the stack.

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

    This isn’t the original channel…

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

      what is the original?

    • @nguyen_tim
      @nguyen_tim Месяц назад

      I think she got rid of it or renamed it. She has a channel dedicated to game dev though,
      youtube.com/@jamie_dev?si=VKI6v-HnKCFXY9Eo

  • @whiteingale
    @whiteingale 3 месяца назад

    I am going tos leep. Goodbye. see you

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

    I been working with Go for so many years and, even knowing this stuff, is always good to refresh the mind. I have a question that might be due to not being a native, but I guess you said that we should use pointers for better usage of memory but this video proves different: ruclips.net/video/ISOjCvpNiYA/видео.html . Any opinion?