- Attributes
- [Foo]
- [Bar]
- [Baz]
- Enumeration
- [Foo(Kind.Foo)]
- [Foo(Kind.Bar)]
- [Foo(Kind.Baz)]
Friday, August 25, 2006
Attribute Design
Krzysztof Cwalina is running a little poll attribute design on his
blog. I made
a comment, but I thought I'd post my thoughts here too.
The question is: is it better to have (i) lots of different attributes, or (ii) fewer attribute but use
enumerations in the constructor? Naturally, this dichotomy is limited to those attributes that don't have
any other arguments, i.e. only "marker" attributes.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment