Hi! On Aug 23, 8:42 pm, William Stein <wst...@gmail.com> wrote: [...] > Don't make it upper case. Make the attribute _is_field. Otherwise the > above sounds great to me.
Or one could have a single attribute "_properties", which is a dictionary, and then one can define self._properties['integrally_closed'] = True self._properties['field'] = False ... I guess this would provide some flexibility, but I don't know if it would be a "clean" thing to do. Since I am not an experienced programmer: Are there reasons to not use a dictionary for those kind of things? Cheers, Simon --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---