10 secrets in Go (Golang) (5m Friday #4)
A short tutorial on 10 simple gotchas/tips & tricks in Go which I personally think are amazing and are a good to know for anyone who's writing Go.
Here is a small list of the topics we'll cover:
00:00 - Video Intro
00:36 - Secret 1 - nil slice vs empty slice
01:21 - Secret 2 - slice three-index
02:23 - Secret 3 - type aliases
03:37 - Secret 4 - json struct tags
04:14 - Secret 5 - anonymous & empty structs
05:00 - Secret 6 - go routines run order
05:37 - Secret 7 - concurrent safe types
06:32 - Secret 8 - shadow everything
07:03 - Secret 9 - nil interface{}
07:41 - Secret 10 - value vs pointer receiver
08:36 - Video Outro
Enjoy 🚀💻🚀
✍RESOURCES:
Articles:
► http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in-go-golang/
► https://www.ardanlabs.com/blog/2013/12/three-index-slices-in-go-12.html
► https://github.com/golang/go/wiki/SliceTricks#batching-with-minimal-allocation
Code:
► https://repl.it/@steevehook/nil-vs-empty-slices
► https://repl.it/@steevehook/slice-3-index
► https://repl.it/@steevehook/type-aliases
► https://repl.it/@steevehook/json-struct-tags
► https://repl.it/@steevehook/anonymous-structs
► https://repl.it/@steevehook/empty-structs
► https://repl.it/@steevehook/go-routines-order
► https://repl.it/@steevehook/concurrent-safe-types
► https://repl.it/@steevehook/shadow-everything
► https://repl.it/@steevehook/nil-interface
► https://repl.it/@steevehook/value-vs-pointer-receiver
🐧 FEEDBACK:
► https://gophertuts.typeform.com/to/j2CJmC
💬 COMMUNITY:
► https://discord.gg/tprewQu
💻GITHUB:
► https://github.com/gophertuts
► https://github.com/steevehook
💻Repl.it:
► https://repl.it/@steevehook
💻Exercism:
► https://exercism.io/profiles/steevehook
📖Medium:
► http://medium.com/@steevehook
💬TWITTER:
► https://twitter.com/@steevehook
💬FACEBOOK:
► https://www.facebook.com/steevehookmd
💬REDIT:
► https://www.reddit.com/user/steevehook
💬INSTAGRAM:
► https://instagram.com/steevehook/
✉️EMAIL
► steevehook@gmail.com
⚡WEBSITE:
► https://www.steevehook.com
🎧 Music:
► https://www.epidemicsound.com/referral/rjj9hr/
► https://artlist.io/
🎥 Gear used:
► Sony 𝛼7III
► Rode NTG-3
► Golden Age Project Pre73-JR preamp
______________________________________________________________________________
Software engineering is one of the most accessible fields nowadays, but it's easy to get lost in the huge amount of technologies and ways to approach engineering problems. Lots of languages, frameworks, solutions and ways to be a productive engineer.
I share my own experience on what is like to be a software engineer and the skills required to be a productive one. On this channel I share my thoughts, opinions and video tutorials about topics related to a certain technology, to make it easier for you to ultimately make a choice or just get better at software engineering by learning from my mistakes/experience.
Make sure to also check out 5m Friday every Friday, where I share my thoughts and opinions about different engineering topics. I'll c you around 😎
Stay tuned!
🚀💻🚀
Видео 10 secrets in Go (Golang) (5m Friday #4) канала Steve Hook
Here is a small list of the topics we'll cover:
00:00 - Video Intro
00:36 - Secret 1 - nil slice vs empty slice
01:21 - Secret 2 - slice three-index
02:23 - Secret 3 - type aliases
03:37 - Secret 4 - json struct tags
04:14 - Secret 5 - anonymous & empty structs
05:00 - Secret 6 - go routines run order
05:37 - Secret 7 - concurrent safe types
06:32 - Secret 8 - shadow everything
07:03 - Secret 9 - nil interface{}
07:41 - Secret 10 - value vs pointer receiver
08:36 - Video Outro
Enjoy 🚀💻🚀
✍RESOURCES:
Articles:
► http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in-go-golang/
► https://www.ardanlabs.com/blog/2013/12/three-index-slices-in-go-12.html
► https://github.com/golang/go/wiki/SliceTricks#batching-with-minimal-allocation
Code:
► https://repl.it/@steevehook/nil-vs-empty-slices
► https://repl.it/@steevehook/slice-3-index
► https://repl.it/@steevehook/type-aliases
► https://repl.it/@steevehook/json-struct-tags
► https://repl.it/@steevehook/anonymous-structs
► https://repl.it/@steevehook/empty-structs
► https://repl.it/@steevehook/go-routines-order
► https://repl.it/@steevehook/concurrent-safe-types
► https://repl.it/@steevehook/shadow-everything
► https://repl.it/@steevehook/nil-interface
► https://repl.it/@steevehook/value-vs-pointer-receiver
🐧 FEEDBACK:
► https://gophertuts.typeform.com/to/j2CJmC
💬 COMMUNITY:
► https://discord.gg/tprewQu
💻GITHUB:
► https://github.com/gophertuts
► https://github.com/steevehook
💻Repl.it:
► https://repl.it/@steevehook
💻Exercism:
► https://exercism.io/profiles/steevehook
📖Medium:
► http://medium.com/@steevehook
💬TWITTER:
► https://twitter.com/@steevehook
💬FACEBOOK:
► https://www.facebook.com/steevehookmd
💬REDIT:
► https://www.reddit.com/user/steevehook
💬INSTAGRAM:
► https://instagram.com/steevehook/
► steevehook@gmail.com
⚡WEBSITE:
► https://www.steevehook.com
🎧 Music:
► https://www.epidemicsound.com/referral/rjj9hr/
► https://artlist.io/
🎥 Gear used:
► Sony 𝛼7III
► Rode NTG-3
► Golden Age Project Pre73-JR preamp
______________________________________________________________________________
Software engineering is one of the most accessible fields nowadays, but it's easy to get lost in the huge amount of technologies and ways to approach engineering problems. Lots of languages, frameworks, solutions and ways to be a productive engineer.
I share my own experience on what is like to be a software engineer and the skills required to be a productive one. On this channel I share my thoughts, opinions and video tutorials about topics related to a certain technology, to make it easier for you to ultimately make a choice or just get better at software engineering by learning from my mistakes/experience.
Make sure to also check out 5m Friday every Friday, where I share my thoughts and opinions about different engineering topics. I'll c you around 😎
Stay tuned!
🚀💻🚀
Видео 10 secrets in Go (Golang) (5m Friday #4) канала Steve Hook
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
EVERYTHING You SHOULD know about Go Modules (Go Basics #8)5 Things You're Doing Wrong When Programming in Python7 common mistakes in Go and when to avoid them by Steve Francia (Docker)My Journey from JavaScript to Go (5m Friday #11)JavaScript Loops - Code This, Not ThatWriting Secure Node Code: Understanding and Avoiding the Most Common Node.js Security MistakesGolang UK Conference 2016 - Mat Ryer - Idiomatic Go TricksThe Future of JavaScript - New Features and Disruptive Trends in 20205 Ways to DevOps-ify your App - Github Actions TutorialSOLID in Go in 8 minutes (5m Friday #5)"Go is 10! Now What?" by Robert Griesemer – Gopherpalooza 2019Writing Beautiful Packages in GoGolang Tutorial 3 - Golang pointers explained, once and for allConcurrency in Go5 reasons to choose Go in 2020 (5m Friday #2)Concurrency Patterns In GoGolang UK Conference 2016 - Dave Cheney - SOLID Go Designjustforfunc #9: The Context PackageControlling Concurrency: Advanced Go ProgrammingData Structures and Algorithms in Go - Heaps