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

Well, the Go's FileNotFound errors returned from the standard library do have the file name in the message string. Java's FileNotFoundException exceptions, on the other hand, don't; and the stacktrace is usually useless because it doesn't record the values of the local variable anyhow.


yeah, the inconsistency there in both standard libraries is... strange to say the least. more info is more gooder IMO, the runtime cost is SO much lower than the troubleshooting cost.




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

Search: