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

"Only mock what you own, because mocking others is rude."

i once referred to a codebase as foreign, meaning (to my knowledge) not originally developed by my team or division, when justifying not writing new unit test coverage for existing code without discussion, only to realize much later that the owners were actually abroad and may have been offended by that statement.

sigh



Heheh, in retrospect that does sound like a plausible thing someone might say, "foreign code" meaning "that code written by foreigners". I wonder if there's been studies about cultural influences on code, like how Japanese programmers write code, compared to other countries, etc.

Even within the U.S., there was the whole thing about the MIT approach (do the right thing) and the "New Jersey" style (worse is better).

"What do you expect from an operating system designed and implemented in New Jersey!"




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

Search: