Jason Grout wrote:

> I think in general, the definition goes with the most descriptive name
> (e.g., cardinality).  Sometimes a shorter alias is then created to make
> typing easier (e.g., card).  An example of this the adjacency matrix of
> a graph.  We have g.adjacency_matrix, but we also have the shortcut g.am.

Aliases are a disaster. Just pick one good name.
Minor convenience isn't a good enough reason to clutter the namespace.

Not picking on you; aliases have been suggested at various points
in this thread.

> If there is only one function name, then it is the more explicit name
> (e.g., cardinality)

Agreed.

Robert Dodier

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to