filmov
tv
5 Tips for Writing Idiomatic Code in Golang - Part 2

Показать описание
In this episode I share with you 5 tips for writing idiomatic code in Go! Let's get into it:
■ Context should be the first parameter
■ Return early
■ Avoid the init() function
■ Comments are for machines and humans
■ Avoid unnecessary functions
== Relevant links
== All Go/Golang Playlists
== Socials
00:00 - Start
00:10 - Idiomatic Golang Tip 1: Context should be the first parameter
03:10 - Idiomatic Golang Tip 2: Return early
05:59 - Idiomatic Golang Tip 3: Avoid the init() function
10:54 - Idiomatic Golang Tip 4: Comments are for machines and humans
12:54 - Idiomatic Golang Tip 5: Avoid unnecessary functions
=== Who am I?
Hello👋🏼! I'm Mario, a Hands-on Software Architect and Lead Backend Engineer with more than 16 years of professional experience building all kinds of software including on-premise Industrial Automation Systems, Linux Accessibility Desktop and Browser Components as well as Distributed Advertising Microservices.
Every week I will share with you different topics I've learned while working for small startups and large companies including the processes I've followed over the years for successfully delivering complex enterprise systems from start to end.
Subscribe if you like Software Development, Software Architecture and Systems Design!
Keep it up. Don't give up!
#golang #tutorial #idiomatic
=== Our Vlog Channel
=== Affiliate links
DISCLAIMER: Some of the links shared above are affiliate links. As a member of these affiliate programs, I earn a small commission from your purchases at no additional cost to you. Thank you in advance for your support!
■ Context should be the first parameter
■ Return early
■ Avoid the init() function
■ Comments are for machines and humans
■ Avoid unnecessary functions
== Relevant links
== All Go/Golang Playlists
== Socials
00:00 - Start
00:10 - Idiomatic Golang Tip 1: Context should be the first parameter
03:10 - Idiomatic Golang Tip 2: Return early
05:59 - Idiomatic Golang Tip 3: Avoid the init() function
10:54 - Idiomatic Golang Tip 4: Comments are for machines and humans
12:54 - Idiomatic Golang Tip 5: Avoid unnecessary functions
=== Who am I?
Hello👋🏼! I'm Mario, a Hands-on Software Architect and Lead Backend Engineer with more than 16 years of professional experience building all kinds of software including on-premise Industrial Automation Systems, Linux Accessibility Desktop and Browser Components as well as Distributed Advertising Microservices.
Every week I will share with you different topics I've learned while working for small startups and large companies including the processes I've followed over the years for successfully delivering complex enterprise systems from start to end.
Subscribe if you like Software Development, Software Architecture and Systems Design!
Keep it up. Don't give up!
#golang #tutorial #idiomatic
=== Our Vlog Channel
=== Affiliate links
DISCLAIMER: Some of the links shared above are affiliate links. As a member of these affiliate programs, I earn a small commission from your purchases at no additional cost to you. Thank you in advance for your support!
Комментарии