When I need an array for temporary use, what's the difference between these:
1:
NSMutableArray *stuff = [[NSMutableArray alloc] init];
// use the array
[stuff release];
2:
NSMutableArray *stuff = [NSMutableArray array];
// use the array
3:
NSMutableArray *stuff = [[[NSMutableArray alloc] init] autorelease];
// use the array
I prefer number 2, since it's shorter. Are there any good reasons to use number 1 or 3?