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

This actually argues my point, because it seems (ignoring the strange design) only the last case would really exist in business code in another language.

(Obviously, without source code access the following is guesswork) The other cases might either not be required (since you'll get a stacktrace anyway and don't need to leave breadcrumbs) or be part of some general infrastructure, say interceptor, that logs interesting things on boundaries. At least that's my day to day experience comparing Go and Java.



There is a lot of confirmation bias in this post. I will leave it at that.


Nevertheless, thanks for trying to back it up with data. I'll use your method and look at our code when time allows it, to see if I need to adjust my priors.




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

Search: