Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




So, one more vote for generics?


That is indeed quite weird


Does Go have templating?


Templating is built right into the Stdlib 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 .


I believe the parent means templating in the sense of generic types: https://en.wikipedia.org/wiki/Template_(C%2B%2B).


Nope! And that's most people's main problem with it.


Wrong. Go has templating.


yeah, maybe, if what you want is to fill some strings in a template and not to create a type that's generic over other types.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: