Re: "No options" constant
Re: "No options" constant
- Subject: Re: "No options" constant
- From: Quincey Morris <email@hidden>
- Date: Thu, 17 Oct 2013 15:15:34 -0700
On Oct 17, 2013, at 14:35 , Seth Willits <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden