Hacker News new | ask | show | jobs
by ilyt 1096 days ago
> The new built in functions min, max, and clear are a bit surprising, even having followed the discussions around them.

Was that discussion pre-generics?

Most of functions and libraries introduced in Go 1.21 is stuff people already put in community libraries (lodash being probably most popular, despise utterly nonsensical name not relating to anything it does) so it is just potentially cutting extra dependencies for many projects.

2 comments

No, it was a recent discussion, here: https://github.com/golang/go/issues/59488
You mean samber/lo? What is nonsensical about the name?