News for hackers. Stuff that matters.
Re:Leaving Go by pcwalton on Monday April 28, 2014 @03:12PM (#7662199)
You can write that in C though.

    typedef int foo;

    foo main() {
        foo foo = 0;
        return foo;
    }
Re:Leaving Go by tptacek on Monday April 28, 2014 @03:26PM (#7662290)
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.