Hacker News new | past | comments | ask | show | jobs | submit login

Go only errors on a small number of things and, while some of those things would be warnings in other languages, I don't think it's fair to frame them in that light.

The go compiler strives to not print any output at all pretty much, and it does that by not having any warnings at all.

If you want warnings in go, you use tools like "go vet" which tell you "this bit is indicative of an issue".. the go compiler won't give that to you though.

As other replies said, Go also doesn't have many compilers. Really it's only 1 supported one. They also don't add new "errors" to the compiler over time for this compatibility reason pretty much.




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

Search: