Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
enneff
on July 8, 2010
|
parent
|
context
|
favorite
| on:
Go's Declaration Syntax
Actually, the other form works fine for declarations too:
var main = func() { /* etc */ }
It's a minor point, though. The article is clear about how the syntax deviates from complete regularity. Your comment seems redundant.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: