Archive:

Day: March 10, 2017

What are the characteristics of idiomatic Go code?

By: | Post date: March 10, 2017 | Comments: No Comments
Posted in categories: Information Technology

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 Answered 2017-03-10 [Originally posted on http://quora.com/What-are-the-characteristics-of-idiomatic-Go-code/answer/Nick-Nicholas-5]