2 ms·
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 re
by snarfy 10y ago
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.