Hacker News new | ask | show | jobs
by vincetogo 4394 days ago
I really don't get where the hate for Objective-C is coming from. Objective-C is definitely showing its age and I'm glad to see a new language that improves on it, but I really don't understand why the author's slagging it so much. I've worked in Java and Obj-C and I'd much rather work with the latter any day. I'm not saying it's perfect by any stretch, and I'm not saying it's objectively better than Java, just that there's a case for both. But I definitely don't think iOS would have better off if it had adopted Java as its language of choice instead of Objective-C.
1 comments

C++ made certain decisions about syntax, Java kept many of them. They have been dominant languages for many years.

Objective-C made different decisions. They aren't clearly better or worse, just different. So C++/Java developers have to learn to read a new syntax and have to give up all of their favorite tools.

After all that work, they end using something that's basically the same as their old language. So they aren't thrilled about the change.

You're right, the syntax is the main thing I've heard complaints about. I find that really bizarre though. I've been working in C++ longer than Objective-C, and more than Objective-C, but I don't find anything offensive about the latter's syntax. So it's different. For me the measure of a language is how hard or easy it is to get stuff done. Objective-C holds up pretty well in that regard.