
Clean Code – How to Write Amazing Functions
Coding Blocks
00:00
You Shouldn't Name a Method With R on the End, Wright, or Helper
Someone in slack recently said something like, you should never name a method with r on the end, wright, like manager, or or. And i brought it up last time that i thought that wasn't fair, because as it relates to n v c, everybody knows what a controller is. So if your variable name had the word controller in it, then it's immediately obvious to everybody what it is. I'll even do a inter face anoccat like a, i name haver, and i'll go slapping on the pursoand object, or anyone else that has a name, or even whatever properties i need. We got a work r toam antherybody
Transcript
Play full episode