Wednesday, December 23, 2020

Annoying basic things that golang lacks

 Go lacks some basic features that I am going to document here:

  • abs() for integers
  • min() and max() for integers
  • sets

2 comments:

  1. Just wait until you want to write a func that takes any kind of number ;)

    Generics coming! https://blog.golang.org/generics-next-step

    ReplyDelete