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

28,253
0
Published 2023-01-17
Go is an incredible language with a ton of pretty unique features. Today I wanted to break down 9 concepts that are fairly unique to Go as well as a couple of conventions recommended by the creators.

READ THIS: go.dev/doc/effective_go

twitter: twitter.com/benjamin41902
insiderviz: www.insiderviz.com/

timestamps
0:00 intro
0:28 package names
0:53 mixedCase
1:12 switch/if assignments
2:07 := reassignments
3:06 for loop
4:20 multiple returns
5:29 defer
6:55 new vs make
9:30 _ operator
10:20 struct methods
11:48 scope

#golang #programming #beginners

All Comments (21)
  • 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.🙌🏽
  • 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
  • @abhiramsatpute
    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
    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
    For someone starting with GO, these seem really helpful. Subscribed.
  • @MarkStrus
    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.
  • @franmaric
    Great video, learned a lot! This is gonna make my backend much better :)
  • Wow thats one of the best beginner-oriented Go videos I have seen
  • @MattBidewell
    "And you, young Davis; we shall watch your career with great interest." Palatine or something. Great vid, subbed
  • @ddruganov
    Omg the capitalization as export is just hilarious ffs
  • I just refreshed my learning after seeing this concept now I know how defer keyword works in go ☺️. 😊
  • @hakim_jazuli
    the documentation 101: "the convention is to use camelCase" me: "you know what? I'm gonna snake_case even harder"
  • @AHairyBum
    Nice video. I noticed you are using a vim plugin. You can use ~ to toggle the case of a character, also g~