Re:Python Is Easy. Go Is Simple. Simple != Easy
by mFixman on Monday November 27, 2023 @03:16PM
(#38437617)
To be honest, I used to use Go before generics became a thing.
I'm glad that they implemented some basic library functions 10 years down the line.
Re:Python Is Easy. Go Is Simple. Simple != Easy
by tick_tock_tick on Tuesday November 28, 2023 @06:16PM
(#38452963)
Yeah no offense but most of the people online that I find complaining about Go used it a long time ago or got their talking points pre-generics and haven't touched it or really looked at it since then.
Does https://pkg.go.dev/slices#DeleteFunc not work for you or do you need it to be called filter? It's there for maps too https://pkg.go.dev/maps#DeleteFunc