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

> It's not enough to read method signatures. There are no explicit interfaces. Only implicit ones you devine by understanding the full breadth and scope of how parameter A is used in method B, all the way down the stack trace.

Unit tests are meant to explicitly define the code's interface, and Ruby makes it very easy to write tests. Unfortunately, in practice this doesn't always happen and what you're describing rings a painful bell.



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

Search: