Name return variables bro.
This is a solution that people fixed 25 years ago with detailedReturnObjectNames.
This is a solution that people fixed 25 years ago with detailedReturnObjectNames.
I'd expect that much of the time, the return variable is closely linked to the name of the function. So closely linked that it risks being redundant.
I probably won't adopt this as a convention, just because most of the time when I have access to a debugger I'll also have access to the source code and handle it myself. But I'm going to keep it in mind, and perhaps get fed up at some point and decide to adopt the idea. Thanks.