Objective-C
⚠️
This post was automatically migrated from my old blogging software, and I have not reviewed it for problems yet. Please contact me if you notice any important issues.
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
{% highlight objc %}
import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSLog (@"Hello, World!");
[pool drain];
return 0;
}
{% endhighlight %}
is better code than:
{% highlight bash %}
!/bin/bash
echo "Hello World"
{% endhighlight %}
It seems that people are looking for something new, rather than something good.