#5002: [with patch, positive review] CrystalOfTableaux call method breaks on
legitimate data
---------------------------+------------------------------------------------
Reporter: bump | Owner: aschilling
Type: defect | Status: assigned
Priority: major | Milestone: sage-3.4.1
Component: combinatorics | Keywords:
---------------------------+------------------------------------------------
Comment(by was):
Replying to [comment:8 mabshoff]:
> Hi,
>
> after some discussion about lazy attributed at SD 14 with
> Nicolas the consensus at least from the non-combinat
> developers was that lazy attributes should be avoided for
> public API data structures. If you want to access the
> index_set of a crystal we see no reason for the
> inconsistency '''A.data_set''' while everywhere else
> in Sage it would be '''A.data_set()'''. Caching can be done
> in some other ways.
+10 I very strongly agree with this. The point isn't to argue about
whether lazy attributes are good or bad, but that using them is
inconsistent with hundreds of thousands of lines of existing Sage code,
and we're definitely not going to change all that code. For consistency,
do not use them in the Sage library for "user facing" code.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5002#comment:9>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---