News for hackers. Stuff that matters.
Re:Hurl, the Exceptional Language by amscanne on Sunday May 26, 2024 @03:03PM (#40484532)
> I'm looking at you, Go.

I’m so confused by this. Unless you use a dot import, isn’t this just bar.*?

Re:Hurl, the Exceptional Language by remram on Sunday May 26, 2024 @04:09PM (#40484973)
I'm not sure what you mean. The name binding created is whatever `package <...>` is in the target package's file, which can be anything.
Re:Hurl, the Exceptional Language by amscanne on Sunday May 26, 2024 @04:30PM (#40485139)
Ah got it. I think there’s such a strong convention there, that it would be exceedingly rare to see in pratice. It’s probably allowed just for compat reasons at this point — but I think your point is don’t make that mistake in the first place, not that Go is filled with flagrant violations of the convention.