3 ms·
A thing that REALLY turned me off in go... The fact that go's Math functions only work with floats. Idiotic. You have so many packages that have to add the sa
by BLanen 9y ago
A thing that REALLY turned me off in go...
The fact that go's Math functions only work with floats. Idiotic.
You have so many packages that have to add the same freaking min(int a, int b) function.
- tschellenbach 9y agoThat is indeed quite weird
- ryanpepper 9y agoDoes Go have templating?
- closeparen 9y agoNope! And that's most people's main problem with it.
- mmargerum 9y agoTemplating is built right into the Stdlib https://golang.org/pkg/text/template/ https://golang.org/pkg/text/template/ The only 3rd party library I pull in to build web servers is gorilla (routing, sessions) and a database driver . Everything else you need is in the go standard library .
- vgbm 9y agoI believe the parent means templating in the sense of generic types: https://en.wikipedia.org/wiki/Template_(C%2B%2B) https://en.wikipedia.org/wiki/Template_(C%2B%2B).
- ahacker15 9y agohttps://github.com/pkg/math https://github.com/pkg/math
- marcosdumay 9y agoSo, one more vote for generics?