News for hackers. Stuff that matters.
Re:Fixing for Loops in Go 1.22 by Cthulhu_ on Wednesday September 20, 2023 @05:53AM (#37582315)
And yet, they started off with a language that fixes the mistakes of the main language it tried to replace - c / c++. Mistakes like pointer arithmetic and manual memory management, not zeroing out memory before use, compile times, the list goes on.

And generics is an example of a language feature they took their time for, to avoid making the same mistakes as e.g. Java did, where generics ended up taking up half the language spec and compiler / runtime implementation.

There are no comments on this comment yet.