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

+1, it's become a mantra for me in any code I write that deals with foreign data (which is most of them). Really reshapes your thinking.


No rule of thumb should be a mantra. Parsing when you don’t need to induces unnecessary coupling, which can be quite undesirable in many scenarios. Like any technique, there are times when it’s worth it and times when it’s not.


Is "No rule of thumb should be a mantra" its own counterexample?




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

Search: