minus-squaregramie@lemmy.catoProgrammer Humor@lemmy.ml•Worse than single letterslinkfedilinkarrow-up14·11 months agoIt could be that this is a habit left over from pascal, where result is a reserved word, and is automatically made the return value of the function. If it is in the context of a short function, I don’t see that it’s all that bad. linkfedilink
It could be that this is a habit left over from pascal, where result is a reserved word, and is automatically made the return value of the function.
If it is in the context of a short function, I don’t see that it’s all that bad.