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

Поділитися
Вставка

КОМЕНТАРІ • 48

  • @MarkStrus
    @MarkStrus Рік тому +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

  • @zacktzeng8569
    @zacktzeng8569 3 місяці тому +1

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

  • @rmmiro
    @rmmiro Рік тому +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

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

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

  • @richardamare3575
    @richardamare3575 Рік тому +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

  • @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.

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

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

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

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

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

    Omg the capitalization as export is just hilarious ffs

  • @MattBidewell
    @MattBidewell Рік тому +2

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

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

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

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

    great content, information density is just right

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

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

  • @foodlfg
    @foodlfg 3 місяці тому

    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?

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

    Thanks, awesome stuff.

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

    Very helpful, thanks 🙏

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

    Exactly what i needed! Thanks!

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

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

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

    Good video as always.

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

    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?

  • @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.

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

    Great video.

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

    "multiple returns" = returning a tuple?

    • @promisesheggs8863
      @promisesheggs8863 Місяць тому +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

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

    thank you

  • @fredrickdenga7552
    @fredrickdenga7552 Рік тому +13

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

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

      XD

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

      🤣

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

      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...

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

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

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

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

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

      Cmd +p

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

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

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

      @@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 Рік тому +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.

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

    Great!

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

    next video on Contexts in Go

  • @paralaxa
    @paralaxa 2 місяці тому

    nice

  • @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

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

      looks like someone never wrote java