IMHO it depends on a number of things.
Using groups and memberships is good if the flags are meant to indicate an
ability to do something on the system because there are decorators and
functions to test for having the attribute. You can then decorate a function
or use a has_ test to
Thanks, ron_m, good info.
also keep in mind your datastore. more fields on a SQL table can get
unwieldy for the SQL engine. GAE prefers many fields to joins as you can't
do joins there. lists for flags just seems unwieldy in either environment.
bitwise operations seem super-slick and cool, but do they make the code
I know this isn't a super-sexy topic but does anyone have any suggestions?
I guess the other option would be to use groups and memberships. That
actually sounds like not a bad idea considering that I get a lot of built-in
functionality?
5 matches
Mail list logo