Hacker News new | past | comments | ask | show | jobs | submit login

It is more readable, if have multiple declarations, since the names are aligned instead of the types.

  var x int
  var foo map[string]int
  var dummy []int
compared to

  var int x
  var map[string] int foo
  var []int dummy



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: