Re:Python Is Easy. Go Is Simple. Simple != Easy
by phplovesong on Tuesday November 28, 2023 @03:46AM
(#38443701)
A general "min/max" function could be implemented with Generics?
[ Parent
| on HN ]
Re:Python Is Easy. Go Is Simple. Simple != Easy
by Cthulhu_ on Thursday November 30, 2023 @09:46AM
(#38474137)
And has, since Go 1.21, but that's very recent so everything written before August this year may have the problem of a min/max utility and the like: https://go.dev/blog/go1.21