> This is a general purpose python idea, actually. If there was > a python function that looked at the namespace available for > each .py file then it could decide that there are two lattice > functions. This could issue an "import lattice from poset" > to disambiguate the lattice question automatically. (I have no > idea how you might look at a .py file and get its namespace).
This seems like it has way too much guess-work for my liking. As David Roe mentioned, this is handled pretty nicely by using an object-oriented language. The only place this doesn't work is for the initial creation of some objects. The discussion at hand is closer to choosing the name ARRAY1 for Axioms's OneDimensionalArray instead of something like ONEARRAY. > I don't think that Axiom's solution can work for Sage because > Axiom is a strongly typed language. But it does highlight at > least one other point in the space of design decisions. Python _is_ a strongly typed language. It is just dynamically typed rather than statically typed. --Mike --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---