News for hackers. Stuff that matters.
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?
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.
Re:Go: Support for Generic Methods by shakow on Thursday May 28, 2026 @03:29AM (#48305800)
Re:Go: Support for Generic Methods by bbkane on Wednesday May 27, 2026 @09:06AM (#48293706)
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.
Re:Go: Support for Generic Methods by maccard on Wednesday May 27, 2026 @09:12AM (#48293787)
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

Re:Go: Support for Generic Methods by blanched on Wednesday May 27, 2026 @10:19AM (#48294817)
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.)

Re:Go: Support for Generic Methods by Maxatar on Wednesday May 27, 2026 @11:23AM (#48295716)
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.
Re:Go: Support for Generic Methods by Kapendev on Sunday May 31, 2026 @05:24AM (#48344227)
Flutter
Re:Go: Support for Generic Methods by Kapendev on Sunday May 31, 2026 @05:41AM (#48344310)
Really? Wow, this is like Zig and I love Zig!