On Thu, Feb 26, 2009 at 10:16 AM, Peter Ilberg <peter.ilb...@gmail.com> wrote:
> Depending on your scenario, you might be able to encode the different cases > into bitfields. The above function then turns into something like this: That's certainly unique. :-) However, IMO, a bit less readable and definitely less flexible. Less readable because the relationship between sender/tag/intention isn't there in front of you. Less flexible because you can't use the tags as unique control IDs for use in other situations (because they must be a certain value for this to work). Interesting suggestion, though! -- I.S. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com