Trust your judgment. It is sound in that sending an explicit parameter count is 
error-prone, as witness the thousands of crashes that occur every day when 
developers underrun their format strings.

        — F

On 4 Jul 2012, at 7:34 PM, Tito Ciuro wrote:

> It makes total sense now. Out of the two options (NULL sentinel vs a number 
> to indicate the number of args), I would choose NULL because out of the two, 
> it's more foolproof. Is there a consensus about which option is considered 
> best practice?


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to