Skip navigation.
 
mlRe: Main window disappears. Sometimes.
FROM : Paul Sargent
DATE : Mon Jun 02 20:35:33 2008

On 2 Jun 2008, at 18:50, Bill Bumgarner wrote:

> While learning the retain/release paradigm is certainly useful, it 
> is considerably more complex than GC.  It is also unnecessary while 
> learning Cocoa.  Specifically, GC is intended to be a production 
> quality solution that you can use in your Cocoa applications, 
> without exception.  In Leopard, there have been a handful of bugs 
> and they have been addressed through software updates -- not 
> surprising given the rather sweeping and intrusive set of changes 
> needed to support GC.  And GC will get better / faster in future 
> releases.


I agree with nearly everything you've said, except the (second half of 
the) first statement.

I wouldn't say retain/release is more complex than GC. I'd say using 
retain/release in a medium->large size project is more complex than 
using GC, but the base concept is a simpler one. Whilst learning, 
getting retain/release wrong tends to be less confusing than getting 
GC wrong. GC will make things disappear at random times, whereas 
retain/release will tend to be deterministic in behaviour.

... and it's good grounding. Learning some of the old styles of 
writing Cocoa apps (e.g. accessor methods before properties, custom 
controllers before bindings) makes learning the newer styles that much 
easier. You don't need to write big projects without the nice new 
technologies. Just do a few test apps with them and understand why you 
want them.

That's how all the senior programmers on this list learnt (although 
they didn't have a choice). Why do we think that people following can 
jump a few steps?

That's my opinion anyway. (Feel free to disagree, but we probably 
don't need another big thread about it)

Related mailsAuthorDate
mlMain window disappears. Sometimes. Francis Perea Jun 2, 09:58
mlRe: Main window disappears. Sometimes. Wayne Packard Jun 2, 10:06
mlRe: Main window disappears. Sometimes. Francis Perea Jun 2, 10:36
mlRe: Main window disappears. Sometimes. Michael Vannorsdel Jun 2, 10:45
mlRe: Main window disappears. Sometimes. Francis Perea Jun 2, 11:05
mlRe: Main window disappears. Sometimes. Michael Vannorsdel Jun 2, 11:19
mlRe: Main window disappears. Sometimes. Paul Sargent Jun 2, 11:50
mlRe: Main window disappears. Sometimes. Graham Cox Jun 2, 13:11
mlRe: Main window disappears. Sometimes. Francis Perea Jun 2, 13:16
mlRe: Main window disappears. Sometimes. Francis Perea Jun 2, 13:24
mlRe: Main window disappears. Sometimes. Michael Vannorsdel Jun 2, 19:31
mlRe: Main window disappears. Sometimes. Bill Bumgarner Jun 2, 19:50
mlRe: Main window disappears. Sometimes. Paul Sargent Jun 2, 20:35
mlRe: Main window disappears. Sometimes. mmalc crawford Jun 2, 20:40
mlRe: Main window disappears. Sometimes. Paul Sargent Jun 2, 20:55
mlRe: Main window disappears. Sometimes. Francis Perea Jun 2, 22:48
mlRe: Main window disappears. Sometimes. Bill Bumgarner Jun 2, 22:50
mlRe: Main window disappears. Sometimes. Henry McGilton (St… Jun 3, 04:19
mlRe: Main window disappears. Sometimes. William Bumgarner Jun 3, 04:47
mlRe: Main window disappears. Sometimes. Michael Ash Jun 3, 06:50
mlRe: Main window disappears. Sometimes. Sean McBride Jun 3, 17:28
mlRe: Main window disappears. Sometimes. Stephane Sudre Jun 3, 18:20
mlRe: Main window disappears. Sometimes. Bill Bumgarner Jun 3, 18:29
mlRe: Main window disappears. Sometimes. Stephane Sudre Jun 3, 18:56
mlRe: Main window disappears. Sometimes. Andy Lee Jun 3, 19:02
mlRe: Main window disappears. Sometimes. Hamish Allan Jun 3, 19:22
mlRe: Main window disappears. Sometimes. Bill Bumgarner Jun 3, 19:25