I am developing an open-source academic software package that includes several functions from literature. These functions are not always given a name by the original authors and so the convention is to refer to them by the author's name. For example, consider the hypothetical Smythenson-Johansen function.
In my software, the documentation lists the complete name and provides full references, but the function name is generally abbreviated as (for example)
smythjo()
I am generally trying to balance (i) concision, (ii) readability and consistency, (iii) uniqueness from other functions, and (iv) clarity.
A colleague suggested that abbreviating names like this could be potentially problematic, or disrespectful to the authors. This had never occured to me, as I certainly wouldn't be offended by somebody abbreviating my name in code, but I'm realizing that my colleague may have a point and I should consider this more carefully.
Questions
- Could this be considered inappropriate or unprofessional?
- If so, is it acceptable to use initials, like
sj()? This is less descriptive/readable, but less arbitrary. - Are there any other solutions before I (and any future users) have to look up the spelling for
smythenson_johansen()every time they want to use a function?