4 points · by barredo · 15y ago · 6 comments
http://5by5.tv/hypercritical/14
http://arstechnica.com/staff/fatbits/2005/09/1372.ars
http://arstechnica.com/apple/news/2010/06/copland-2010-revis...
The question should clearly be when, as, like the guy on Quora says, "ever" is a long time.
Objective-C just looks weird when you try to call it like you would a C function, because arguments are almost always intended to be preceded by names. So how would old APIs be invoked? They may work, but it'd be a very awkward transition.
Furthermore, when I hear a programmer make disparaging remarks about a language because of its syntax (or really any reason), I immediately know not to hire this person or trust any of their opinions; an experienced, rockstar programmer would never even hint at this sort of sentiment.
Yes, when calling Objective-C, it compiles to C. But since the article talks about the idea of moving away from Objective-C, the only thing that matters is how source code currently is. The millions of Cocoa-dependent projects aren't using just C functions (even if they're compatible), their API calls follow Objective-C style. So, it is those calls that need to transition. It's not impossible, but it would be inelegant to move those API calls to a language that is significantly different than Objective-C style.
[Just so you know, I've been programming for over 20 years. I have years of experience with Objective-C on both Mac and iOS and dozens of projects under my belt, both for companies and open-source. I have used many different programming languages and know their strengths and styles very well. But you're right, you would not be hiring me...because I would definitely choose not to work for you.]
The point you are trying to make is that porting an ObjC application to another language would be difficult because of the syntax of the language, notably, the interspersing of arguments within the method name. My point is that this has zero relevance to adopting a new application-level API.
An application-level API hooks into OS-level calls (which are not ObjC), which gets turned into assembly, which gets turned into machine code. The only way Cocoa applications would no longer run is if the Cocoa library could no longer bridge the the operating system or if they intentionally did not ship the Cocoa library. Thus, creating a new application-level API would deprecate Cocoa, but wouldn't render those applications useless.
Clearly, a company would have to transition to the new language/API. However, once again, the syntax of ObjC would not make it any more difficult or easy to make this transition compared to any other language. And this did not stop Apple 10 years ago, so I don't envision this stopping them again (C Carbon -> ObjC Cocoa; note that you can still make Carbon calls on Mac OS X).