Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
27 марта 2020 г. 19:00:11
00:09:30
Яндекс.Метрика