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

I've taken that as a warning and never write anything I wouldn't be happy for a customer to see in logs, test-data, comments (although handfuls of sarcasm are still acceptable) or debugging code.

Very good advice!

I once worked with someone who had the unfortunate habit of naming debugging log files "shit".

After a server migration, a couple of paths had been incorrectly set, leading to the client complaining about a now-memorable error: "Cannot open: shit".

Whoops



> "Cannot open: shit".

I'm adopting this error message for I/O from now on.




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

Search: