On Sat, Jun 30, 2012 at 11:52 AM, Jason Grout
<[email protected]> wrote:
> A long time ago, we had a request and vote for making the top-level trace(x)
> function call x.trace()---for example, this means that if M is a matrix,
> then trace(M) will give the trace of M.  The problem is that the top-level
> trace() function already does a completely different thing---it traces
> execution of code.
>
> So please vote (if you care):
>
> [X] Change the current trace() to trace_execution(), put in a deprecation
> warning for trace() used in this manner (but still let it function as it
> used to), and make trace(x) call x.trace() by default.
>
> [ ] Leave things alone and don't do anything.

Principle of least surprise, especially for those least capable of
handling surprise (non- and amateur-programmers).

- Robert

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to