GoLang: 10+ UNIQUE Concepts/Conventions that Beginners Should Know About!

Поділитися
Вставка
  • Опубліковано 19 січ 2025

КОМЕНТАРІ • 50

  • @MarkStrus
    @MarkStrus 2 роки тому +18

    Great video Ben. I’ve really been enjoying your channel lately. I’ve just started learning Go and backend development a few weeks ago. I’ve been doing front end for a long time.
    I find your videos like this one really helpful in understanding some of the concepts and features of Go.

    • @backendfyi
      @backendfyi Рік тому +1

      I have been doing frontend for a long time and it's beginning to grow on me. I switched to go recently and i chanced on channel. great one and a new fan

  • @rmmiro
    @rmmiro 2 роки тому +5

    Congrats on the initiative to building these tutorials, it makes it much easier for people to get into GO, and your style of teaching is very practical. Keep going and the channel will grow for sure

  • @adriancruz2822
    @adriancruz2822 Рік тому +1

    Wow thats one of the best beginner-oriented Go videos I have seen

  • @richardamare3575
    @richardamare3575 2 роки тому +3

    I've just recently came across your channel and I must say there so much quality content. Specially being so transparent with your InsiderViz examples. Thank you for sharing with us.🙌🏽

  • @abhiramsatpute
    @abhiramsatpute Рік тому +1

    You are covering great topics with these 10-15 min vids! They are also super informative for people who have knowledge in other languages to get a grip on Go ! Cheers

  • @MattBidewell
    @MattBidewell 2 роки тому +2

    "And you, young Davis; we shall watch your career with great interest." Palatine or something.
    Great vid, subbed

  • @case6339
    @case6339 Рік тому

    I love those concepts/conventions type of content when learning new stuff. Please include more for more advanced topics as well. Quickest I grasped something in a while was with this video. Thanks.

  • @sahilchhugh2974
    @sahilchhugh2974 11 місяців тому +1

    For someone starting with GO, these seem really helpful. Subscribed.

  • @snoozybara
    @snoozybara 5 місяців тому +1

    This tutorial is great for beginners like me and the content is very easy to understand. Thanks for making it available!!

  • @ddruganov
    @ddruganov Рік тому +7

    Omg the capitalization as export is just hilarious ffs

  • @hakim_jazuli
    @hakim_jazuli Рік тому +5

    the documentation 101: "the convention is to use camelCase"
    me: "you know what? I'm gonna snake_case even harder"

  • @freddyhaug9379
    @freddyhaug9379 7 днів тому

    I’m excited to start working in go

  • @HiepDuong-q8f
    @HiepDuong-q8f Рік тому +1

    great content, information density is just right

  • @AbdulWahab-ev2ct
    @AbdulWahab-ev2ct 7 місяців тому

    Great video, btw what theme you use for vscode and font?

  • @lakshmitech4702
    @lakshmitech4702 2 роки тому +1

    I just refreshed my learning after seeing this concept now I know how defer keyword works in go ☺️. 😊

  • @franmaric
    @franmaric 2 роки тому

    Great video, learned a lot! This is gonna make my backend much better :)

  • @ashutoshkaushik9118
    @ashutoshkaushik9118 2 роки тому

    Exactly what i needed! Thanks!

  • @foodlfg
    @foodlfg 6 місяців тому

    what is the use case for "func(s Showcase)" - referencing the struct by value?
    because the compiler is clearly not complaining about this. you can still call the SetName method of the struct.
    SetName can read the values of the struct but cant modify them?

  • @joerivde
    @joerivde Рік тому +1

    Very helpful, thanks 🙏

  • @GeorgeDonnelly
    @GeorgeDonnelly 9 місяців тому

    Thanks, awesome stuff.

  • @IkraamDev
    @IkraamDev 2 роки тому +1

    Good video as always.

  • @Xe054
    @Xe054 Рік тому

    I love the scoping feature (capital letters) in Go compared to JavaScript. No need to worry about writing "export" for each function or learn different standards such as CJS or ESM.

  • @irahazda
    @irahazda 10 місяців тому

    Just a suggestion, you should really explain the concept of multiple returns before explaining the concept of := reassignments. The := reassignments concept is making use of the multiple returns concept so for those who are new to Golang might be confused on the a, err := foo() syntax

  • @danya1_javed
    @danya1_javed Рік тому

    Which theme are u using?

  • @vitorhmtts
    @vitorhmtts Рік тому +3

    "multiple returns" = returning a tuple?

    • @promisesheggs8863
      @promisesheggs8863 3 місяці тому +2

      it doesn't work that way in Go unfortunately. Multiple returns are independent values and both must be accessed because not accessing a variable is invalid in Go, unlike in Python where multiple returns = a tuple

  • @kvelez
    @kvelez Рік тому

    Great video.

  • @abdu5822
    @abdu5822 2 роки тому

    Whats that Spotlight search bar in your vscode ? an extension? name please.

    • @bmdavis419
      @bmdavis419  2 роки тому

      Cmd +p

    • @abdu5822
      @abdu5822 2 роки тому

      @@bmdavis419 i mean that's pop up for me but for you it's a search bar?

    • @bmdavis419
      @bmdavis419  2 роки тому

      @@abdu5822 for me its CMD + p = "Go to file" which is the searchbar at the top of my screen, you can find it in keyboard shortcuts

    • @abdu5822
      @abdu5822 2 роки тому +1

      Thanks, man for your replies but after a bit of googling, I found out Its enabled by adding "window.commandCenter": true," in user setings.json or the UI.

  • @CheefCoach
    @CheefCoach Рік тому

    You mention the craziest thing in Golang, it's interfaces.

  • @fredrickdenga7552
    @fredrickdenga7552 2 роки тому +13

    Please help me save these jobless rust developers 😢😢😢😢😢😢I BEG

    • @bmdavis419
      @bmdavis419  2 роки тому +3

      XD

    • @esra_erimez
      @esra_erimez 2 роки тому +1

      🤣

    • @Usernotknown21
      @Usernotknown21 Рік тому

      What's the joke. I mean i get it but are you being sarcastic saying rust devs actually have

    • @HiepDuong-q8f
      @HiepDuong-q8f Рік тому +4

      Go is a great language, but the Gophers fan boy are not so great...

  • @naranyala_dev
    @naranyala_dev Рік тому

    thank you

  • @paralaxa
    @paralaxa 5 місяців тому

    nice

  • @mr.x5582
    @mr.x5582 Рік тому

    Great!

  • @abdu5822
    @abdu5822 2 роки тому

    next video on Contexts in Go

  • @adicide9070
    @adicide9070 Рік тому +1

    Also, it's not a good practice in Go to make setters. And totally not if you have a public field anyway.

  • @adicide9070
    @adicide9070 Рік тому

    Ok, I'll just say the new keyword and builtin is useless. I've never seen it used in out production code. we just use var to have things initialized to zero values, including nils for pointer types. For a language that likes to have a single way of doing things, "new" is doubly useless.

  • @iZeb0x
    @iZeb0x Рік тому +1

    worst syntax since cobol

    • @biskitpagla
      @biskitpagla Рік тому +4

      looks like someone never wrote java

  • @12qwasyxcv12
    @12qwasyxcv12 11 днів тому

    Speaking too fast make it Hard to follow 😊