Objective-C vs Java

by Charles Miller on January 29, 2003

Mark Paschal takes objection to a post by Dan Benjamin about Objective-C vs Java.

Objective-C has a lot of things in its favour. It's dynamically typed. It's enormously less picky You can add methods to existing classes. You can drop back to straight C if you want to, which many people consider a benefit but I was never a big C programmer. If you're on OS X, you get to use Cocoa, which kicks ass. But, I'll have to agree with Dan on one point. To quote Jamie Zawinski:

Java doesn't have free(). I have to admit right off that, after that, all else is gravy. That one point makes me able to forgive just about anything else, no matter how egregious. Given this one point, everything else in this document fades nearly to insignificance.

Once you're used to automatic memory management, being forced to do it all manually is a real hassle.

Previously: Mailing-list Stupidity of the Year

Next: Dear Cityrail