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]

  • March 2017
    M T W T F S S
    « Feb   Apr »
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Subscribe to Blog via Email

    Join 290 other subscribers