Subscribe to Blog via Email
Join 296 other subscribers
What are the characteristics of idiomatic Go code?
Just to get the ball rolling:
- Short variable names
- Error checking routines (the
!err
testing gets prolix quickly) - Never use a
var
when you can use a:=
defer
is your friend
Leave a Reply