On Sat, Feb 20, 2010 at 4:57 PM, Tom Boothby <tomas.boot...@gmail.com> wrote: > I vehemently oppose this. > > -1 >
OK, I'm with you that this will not be on by default. As you suggest below, this is something that can (and will) be made an optional mode. We'll have several -- implicit multiplication, automatic variable name creation, and protected names. Having them all on could be useful for people teaching, e.g., calculus labs. This protected mode, by the way, will in the long run use the same technique as automatic variable name creation: replacing the globals() dictionary by a customized wrapper. This has a slight performance penalty, so definitely can't be the default. But it is a fine idea for an optional mode. > I've used pi for: partitions, p[i] where p is a list, etc. > e can be a small error term, a sign, an exponent > i is the best index variable name ever invented, hands down. > > That said, I was opposed to implicit multiplication, too. If this is > made into a "mode", then that's fine by me. > > > On Sat, Feb 20, 2010 at 4:21 PM, Oscar Gerardo Lazo Arjona > <algebraicame...@gmail.com> wrote: >> Some time ago I suggested in sage-support >> (http://groups.google.com/group/sage-support/browse_thread/thread/b391ed6bd14cdfd0) >> >> I'd like to propose that certain special names should be protected so that >> they could not become variable names (for example pi, e, and i) >> >> if by accident you assign them like: >> >> e=factorial(10) >> >> and then you need to need to use e with it's standard meaning, like >> >> e^100 >> >> you will have a very hard to spot error ( (factorial(10)^100). >> >> In that occation I did not create a ticket, but now I have: >> >> http://trac.sagemath.org/sage_trac/ticket/8317 >> >> and the thread is better placed in sage-support >> >> thanks! >> >> Oscar >> >> -- >> To post to this group, send an email to sage-devel@googlegroups.com >> To unsubscribe from this group, send an email to >> sage-devel+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/sage-devel >> URL: http://www.sagemath.org >> > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org