News for hackers. Stuff that matters.
Re:Leaving Go by tomp on Monday April 28, 2014 @03:00PM (#7662127)
Unless you're also frustrated by not being able to write `int int = 3` in C/C++/C#/Java/most other languages, I don't see the point of your concern.

    f = file.open("a.txt")
    out_file = file.open("b.txt", file.WRITE)
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.