I think that those are valid names in a good context. e.g. if you have a function like &quot;substring&quot;, then you can name &quot;str&quot; as the parameter and &quot;result&quot; the variable where you accumulate the result. Any other more semantic name for &quot;result&quot; would be &quot;substring&quot;, i.e. the name of the function itself.