I am against such restrictions, what if I don't care about complex
numbers and want to use i as an index variable? What if I want e to
stand for an edge?

When I do want to have i^2=-1, I will write the code appropriately,
and if I manage to use the same name for two objects I am working with
- I think it is my fault, I should resolve it, and avoid repeating it
in the future.

Andrey

On Feb 20, 5: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/b391...)
>
> 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

Reply via email to