Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pcwalton
on April 28, 2014
|
parent
|
context
|
favorite
| on:
Leaving Go
You can write that in C though.
typedef int foo; foo main() { foo foo = 0; return foo; }
tptacek
on April 28, 2014
[–]
You can do the same thing in Golang by renaming the import that clashes with your preferred variable name. Nobody does it, though, because it's not worth the trouble.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: