News for hackers. Stuff that matters.
Re:a[low:high:max] in Golang – A Rare Slice Trick by throwaway894345 on Sunday March 19, 2023 @06:53PM (#35224585)
Yeah, like I said, there are some cases where generics are genuinely helpful. It’s just a small percentage of the code I tend to write (generics have been out for quite a while, and I still avoid them in Go despite my familiarity with languages like Rust, TypeScript, etc that use them extensively).

There are no comments on this comment yet.