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

We use this technique as a guide in our company. If someone (knowledgable) would ask "What does this method call do?" and the method name does not answer that, your PR doesn't go in the master.

E.g. getString(path) for loadConnectionStringFromDisk(configFilePath), tryConnect(30) for testSqlConnection(timeoutInSec), even the reader now knows what happens here and what input is expected.



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

Search: