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 (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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com