> having a function with a single return statement on one line, while legal, I cannot imagine why someone would do it in a non one off script code.
I agree. Seems to be a personal preference, but still feels odd.