On Thu, 24 Sep 2015, Dima Pasechnik wrote:

We have dozens of examples in Sage where well-established abbreviations are
used, without aliases.
E.g. matrices have LU() and LLL() methods, or e.g. groups.matrix.GL
groups.matrix.GO  groups.matrix.GU

LLL is mentioned in the developer's guide: "Use all lowercase function names - - Note, however, that some functions do have uppercase letters where it makes sense. For instance, the function for lattice reduction by the LLL - -".

Something similar could be added about abbreviations. Basically "If in doubt, use full name. Never abbreviate to save only few letters. Always mention commonly used abbreviations and aliases in docstring."

--
Jori Mäntysalo

Reply via email to