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

> I'd settle for people using stdout and stderr correctly.

I use this as a litmus test when looking at an unfamiliar codebase: if the author couldn't care less about writing diagnostics to stderr instead of stdout, there is little chance they cared to get more tricky stuff right.

Another test that goes hand in hand with this one is to check if error messages use a consistent style such as all start with a capital or small letter and all end or don't end with a period. Extra bonus points for using consistent quoting style.



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

Search: