Re:Go: Support for Generic Methods
by ramon156 on Wednesday May 27, 2026 @08:59AM
(#48293599)
So which language had it right from the start? is there a language that has a very low rewrite status?
[ Parent
| on HN ]
Re:Go: Support for Generic Methods
by poncho_romero on Wednesday May 27, 2026 @11:14AM
(#48295595)
I think Elixir is a good candidate here. It's small, coherent, and composes well, and (at least to my understanding) the authors consider the language finished, with no new major features planned.
Re:Go: Support for Generic Methods
by sunsetSamurai on Wednesday May 27, 2026 @11:07PM
(#48303945)
Elixir is missing static types though, it's hard to go back to work on dynamic languages.
Hopefully, it's coming.
https://elixir-lang.org/blog/2023/06/22/type-system-updates-...
I'd particularly like examples of statically typed languages that "got it right" (since I love me my types)
Re:Go: Support for Generic Methods
by galangalalgol on Wednesday May 27, 2026 @09:40AM
(#48294205)
Ocaml maybe? Multi threading didn't seem necessary and introduced the possibility of data races.
That’s whataboutism - no language is perfect, but given when go released it’s fair to hold them to a higher standard than languages what were designed 25 years earlier.
As an aside - D, Zig, Rust, even typescript got most of the lessons learned from C right
I'm not familiar with D, but Zig and Rust are well-known for continuously evolving.
Zig has the (in)famous "Writergate": https://github.com/ziglang/zig/pull/24329
And besides Rust's high count of RFCs, there are things like async (I'm not complaining about it, but its an obvious large-scale "change"), module system changes, etc.
(To be clear, I like both languages a lot. But I wouldn't call them slow moving or right from the start.)
D literally can't even maintain backwards compatibility between minor version updates not to mention a big part of the D community left when D reinvented itself with D2. Among languages it's probably the one that is constantly in a state of flux.
Re:Go: Support for Generic Methods
by sunsetSamurai on Wednesday May 27, 2026 @11:09PM
(#48303965)
what's a big project built with D? I feel it gets mentioned a lot on hackernews but I've never run into any project using it in the wild.
Flutter