Level Up Your Golang: 5 Concepts You Need to know
Flo Woelki Flo Woelki
11K subscribers
10,003 views
463

 Published On Jul 12, 2024

You have to know these 5 concepts and keywords in Golang to improve your Golang code! An additional one are variadic functions, luckily I've also made a video about this concept:    • The Spread Operator (or Variadic Func...  


📝 Description
Dive deep into the fascinating world of Golang as we explore five powerful yet often overlooked concepts that can supercharge your coding skills. In this video, we'll unravel the mysteries of iota, the versatile constant generator that simplifies enum-like declarations. Discover the magic of the 'new' keyword and how it can streamline your struct initialization. We'll also dare to venture into the controversial realm of 'goto' statements, discussing their rare but valid use cases in Go. Learn how to tame complex nested loops with the elegant solution of loop labels. Finally, we'll unveil the secrets of the humble underscore and its various applications in Go programming.


⏳ Timestamps:
00:00 - Introduction
00:40 - iota Easy Example
04:02 - iota Advanced Example
06:57 - new
09:57 - loop labels
12:55 - goto
15:22 - underscore
18:56 - Outro


👋 Hey there!
If you are new to this channel: Hey 👋 my name is Flo and I am a professional software engineer with a passion for coding in Golang, TypeScript, JavaScript, and Rust. This channel is where I share that passion and dive into the exciting world of software engineering. Plus, I love using emojis and paper-based animations (so have a look for that if you want to find my videos).


📨 Support and Connect!
Buy me a coffee: https://www.buymeacoffee.com/florianw...
Become a member.    / @flowoelki  
Discord:   / discord  
Instagram:   / flowydev  
LinkedIn:   / florian-woelki  
TikTok:   / florianwoelki  
GitHub: https://github.com/FlorianWoelki


📝 Copyright Notice
The original Go Gopher version is originally designed by Renée French (Source: https://go.dev/blog/gopher License details: https://creativecommons.org/licenses/.... The gopher used in the video and thumbnail is inspired by this author.


#golang #go #concepts

show more

Share/Embed