News for hackers. Stuff that matters.
Re:Hurl, the Exceptional Language by remram on Monday May 27, 2024 @10:52AM (#40491285)
What does that mean?
Re:Hurl, the Exceptional Language by d-z-m on Tuesday May 28, 2024 @12:49AM (#40497423)
it means: this is normally how imports in Go work, is it not?
Re:Hurl, the Exceptional Language by remram on Tuesday May 28, 2024 @01:09PM (#40502929)
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".

Re:Hurl, the Exceptional Language by d-z-m on Wednesday May 29, 2024 @08:32AM (#40511250)
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?