cohadar's blog

By cohadar, history, 8 months ago, In English

While golang got generics in 1.18, the standard library was lagging behind in implementations.

Example: package slices does not even exist before version 1.21. It contains such functions as generic Max, Min, Sort, BinarySearch, ...

Golang 1.19 vs golang 1.21 library is like comparing C and C++ libraries.

Thank you for your hard work MikeMirzayanov.

  • Vote: I like it
  • +1
  • Vote: I do not like it

»
6 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Yes, please upgrade