On Tue, Jul 13, 2010 at 9:05 AM, Robert Bradshaw
<rober...@math.washington.edu> wrote:
> I think indexing into operands by number is a bit brittle, and
> x.operands()[2] is much more explicit.

On the other hand, then you get expressions like

x.operands()[0].operands()[2].operands()[1].operands()[0]

which are a bit unwieldy especially since none of the later
.operands() tab-complete.  One is more likely to need a deeper call of
operand calls the index calls.

--Mike

-- 
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