3 ms·
"I think the decision to be backwards-compatible with C is a fatal flaw." --Guy Steele The funny thing is Objective-C is also backwards-compatible with C and t
by jarin 16y ago
"I think the decision to be backwards-compatible with C is a fatal flaw." --Guy Steele
The funny thing is Objective-C is also backwards-compatible with C and there is a huge world of difference between programming in Objective-C and programming in C++.
- bonch 16y agoIt's not so much that it's backwards-compatible with C so much that it is C. It's plain C with a class and run-time messaging system built on it. Message sends are translated to C function calls by the compiler.
- tjr 16y agoWhile Objective-C is backwards-compatible with C, it doesn't tend to be as noticable as much as it is with C++. Objective-C feels like a markedly different language in which you can do inline C if you want to, while C++ feels like more of an extension of C.