Re: Displaying a number with Quartz
Re: Displaying a number with Quartz
- Subject: Re: Displaying a number with Quartz
- From: Ken Thomases <email@hidden>
- Date: Tue, 26 May 2009 12:14:14 -0500
On May 26, 2009, at 11:58 AM, Pierre Berloquin wrote:
Yes you are right, we work with limited memory and I should be
release minded and watch my variables.
But didn't I read somewhere an advice against oneliners to skip the
releases?
It's a trade-off of best efficiency vs. developer convenience and code
readability.
If you're developing for the iPhone, then you should prefer taking
explicit responsibility and controlling memory more actively.
If you're developing for the Mac, you have fewer constraints. On the
theory that every line/statement/expression you don't write is one
less opportunity for making an error, you might very well prefer the
"one-liner".
Cheers,
Ken
_______________________________________________
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