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&#x27;s extra boilerplate to call your variable parserStatusCode when then function is called getParserStatusCode() returning a type of ParserStatusCode.