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

Go's certainly not perfect but I usually find it more productive than java or C++ for equivalent problems.

For 2, I hate this example. Code that returns or takes booleans that requires reading a comment to understand the value is super error-prone to use. Don't write textually ambiguous interfaces in any language. I just haven't seen this particularly be a problem.

#3 Re: checking errors, we wrote a trivial go vet plugin in house that checks for that.

sort.Slice is probably new since this was written and is way better than sort.Interface if you're sorting a slice.

Better vendoring and generics are finally acknowledged to be issues and solutions are coming. Hooray.



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

Search: