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

I would argue that if you are using boilerplate annotations, you are doing it wrong. If you really do not need to add context, don't add context. But in my code I find that I want to add context about 90% of the time.

But then I am super zealous about making sure my error messages understandable without the need to track down other information. For example, I want to know that (something like) "the config file needs group read permissions" not "file cannot be opened." But maybe others value ease of programming more than I do and are less concerned about error UX than I am?



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

Search: