7 ms·
You can write that in C though. typedef int foo; foo main() { foo foo = 0; return foo; }
by pcwalton 13y ago
You can write that in C though.
typedef int foo;
foo main() {
foo foo = 0;
return foo;
}
- tptacek 13y agoYou 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.