Originally posted by cesarcafe
View Post
I can say that almost everything is an improvement compared to the old way of doing stuff. Objective-C was just old and outdated. It didn't provide any modern language features that we can currently enjoy with Swift. I wouldn't call it unfriendly, it's actually a super simple language to get started with.
It's safer (not Rust kind of safe, but way better than C/Objective-C), supports more expressive functional patterns, proper structs, functions as first class citizen, better string manipulation. I mean, the list would go on and on. And most of these improvements would not be possible to implement in Objective-C, because that would break the compatibility with C.
With this I am not saying that swift is the best language. But it's miles ahead of any of the other C derivatives for its intended purpose.
Now Xcode is quite a bit cumbersome, I don't like that at all. But that's not related with Swift at all.
Leave a comment: