4 ms·
I'm not sure what you mean with "Backwards compatible with C". You can easily use ooc code from C, and C code from ooc. What more do you want? ooc is indeed no
by nddrylliog 17y ago
I'm not sure what you mean with "Backwards compatible with C". You can easily use ooc code from C, and C code from ooc. What more do you want?
ooc is indeed not a superset of C syntactically. Objective-C is there for that, and its syntax is (imho) a mess.
You can mix and match C and ooc code at will =)
- scott_s 17y agoPlease don't confuse this with an issue of what I want. It's just what I think the name implies. "Backwards compatible" implies, to me, that if I take out the new features from the language, I'm left with legal code in the original language. This is markedly different than being able to call one language from another. I can call Fortran code from C, and I would never characterize Fortran and C as "backwards compatible." One is about source code compatibility. The other is about object code compatibility.