Re: Best Practice for Returning Immutable Objects?
Re: Best Practice for Returning Immutable Objects?
- Subject: Re: Best Practice for Returning Immutable Objects?
- From: "Hamish Allan" <email@hidden>
- Date: Tue, 3 Jun 2008 17:52:58 +0100
On Tue, Jun 3, 2008 at 5:28 PM, Karl Moskowski
<email@hidden> wrote:
> Since I can expect people to follow the conventions defined by the API, I'll
> just cast and expect the callers not to mutate.
Remember, the cast has no effect whatsoever...
Hamish
_______________________________________________
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