News for hackers. Stuff that matters.
Re:Inheritance was invented as a performance hack by silisili on Thursday May 08, 2025 @02:39AM (#43923660)
I think that's part of the charm of Go, as a language/community.

I've worked with countless people who came from Java, who try to create the same abstractions and factories and layers.

When I chide them, it's like realizing the shackles are off, and they have fun again with the basics. It leads to much more readable, simple code.

This isn't to say Java is bad and Go is good, they're just languages. It's just how they're typically (ab)used in enterprises.

Re:Inheritance was invented as a performance hack by josephg on Thursday May 08, 2025 @02:53AM (#43923747)
> This isn't to say Java is bad and Go is good, they're just languages. It's just how they're typically (ab)used in enterprises.

Yeah; I agree with this. I think this is both the best and worst aspect of Go: Go is a language designed to force everyone's code to look like vaguely the same, from beginners to experts. Its a tool to force even mediocre teams to program in an inoffensive, bland way that will be readable by anyone.