On Oct 17, 2013, at 14:35 , Seth Willits <sli...@araelium.com> wrote:

> It's too easy in my mind to misuse a "universal" constant.

Yeah. It seems to me there are two prime reasons to use a specific constant:

1. Apple's SDKs are gradually moving towards using enums that can be (somewhat) 
type-checked at compile time.

2. You can search source code for "all the places where I've used options from 
this group" more reliably.

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to