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

Neither the Java std lib or the .NET std lib do that though, they don't declare an exception as a static constant you need to compare with. Because it's (rightfully so) considered bad coding. Exceptions give you some valuable informations like stack traces. Go errors gives you nothing. They are inferior to Exceptions and a relic of C programming patterns.



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

Search: