Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why is objective-c such shit

Name: Anonymous 2012-08-05 23:46

NSMutableDictionary *o = [[NSMutableDictionary alloc] init];
[o setObject:o forKey:[NSString stringWithFormat:@"what a %@","horrible language"]];
[o removeObjectForKey:@"apple"];
[o release];

It's like steve jobs never heard of syntactique sugar before

Name: Anonymous 2012-08-07 0:30

my %o;
$o{"what a %@"} = "horrible language";
delete $o{"apple"};

I don't know Jobs-A-Script, but is it doing something as simple as this Perl? If it is, that's the ugliest, most verbose interface to a dictionary I've ever seen. And why do you need those @ signs in front of strings? Couldn't they use the @ strings automatically with those weird bracketed ``method'' calls? There isn't a GC or destructor either? And this is supposed to be a high-level language? This Jobsjective ``C'' interface would be simpler in plain C! So much for OO and abstraction!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List