3 ms·
Because dictionaries, object-arrays, strings and other fundamentals are way more verbose than they should be: someDictionary["bla"][3] vs. [[someDictionary obj
by elai 17y ago
Because dictionaries, object-arrays, strings and other fundamentals are way more verbose than they should be:
someDictionary["bla"][3] vs. [[someDictionary objectForKey:@"bla"] objectAtIndex:3];
someDictionary["bla"] = 5 vs.[someDictionary setObject:[NSNumber numberWithInt:5] forKey:@"bla"];
"%@ - %@" % (date, name) vs. [NSString stringWithFormatString:@"%@ - %@",date,name];
Smalltalk is a lot better than objective-c even, because you can define binary & unary operators with singular symbols to make a far more concise syntax. You think you have done alot of work sometimes in objective-c when you find out that you were just extracting some values out of variables and putting it into this or that dictionary or array.