|
|
|
|
|
by _qulr
2093 days ago
|
|
> I said backwards compatibility This phrase isn't entirely clear. > Objective-C is a superset of C This phrase is clearer. In any case, I'm not fully convinced which language has the advantage and which the disadvantage in this case. You still have to call C API in Swift, and it's rather painful. |
|
Perhaps the worst, "ugliest" feature of Swift is optionals. Why would you even add optionals to a new language if not for the necessity of Cocoa/ObjC compatibility. The language would be so much nicer without them.