News for hackers. Stuff that matters.
Re:A Guide to Naming Variables by snarfy on Friday May 13, 2016 @12:19PM (#11691262)
I find this less useful than using retval. I might have a half dozen variables like parserStatusCode in my function, but there is only one retval. What you return is defined by the function definition. It's extra boilerplate to call your variable parserStatusCode when then function is called getParserStatusCode() returning a type of ParserStatusCode.

There are no comments on this comment yet.