Chris Dzombak

sharing preview • dzombak.com

Objective-C

Objective-C

Context: Soroush Khanlou, via Jason Brennan. And I’m drafting a less-snarky response now.

I was reading an article on Objective-C, and I still don’t quite get it.

Lifting a simple example from the post, are we really down to say that

#import <Foundation/Foundation.h>
 
int main (int argc, const char * argv[])
{
        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
        NSLog (@"Hello, World!");
        [pool drain];
        return 0;
}

is better code than:

#!/bin/bash

echo "Hello World"

It seems that people are looking for something new, rather than something good.