Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What does that mean?


it means: this is normally how imports in Go work, is it not?


What is how it works? How is it normal?

I posted a criticism of Go, I don't know what you mean by "this is how it normally works".


I'm saying that when I import something, "foo/bar" "bar/baz" etc, The way I access the exposed functions and types in that package usually corresponds to the basename. e.g. bar.* for the first example, and baz.* for the second example. Is your criticism of Go that it is technically not required for this to be the case?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: