|
|
|
|
|
by _the_inflator
900 days ago
|
|
That’s why I fell in love with Objective C. The libraries used a lot of those expressive descriptions for attributes and methods. I never understood nor understand people who nest their inner loops in an entangled mess of hardly distinguishable digits, which is error prone. Same for method names. I try to use speaking out loud to some of my methods: What do you do? And if the answer is getValue I believe it needs renaming. |
|
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.