Is C++ similar to Swift?

Is C++ similar to Swift?
Answer
Swift is actually becoming more and more like C++ in every release. The generics are similar concepts. The lack of dynamic dispatch is similar to C++, although Swift supports Obj-C objects with dynamic dispatch too. Having said that, the syntax is completely different – C++ is far worse.
 

Tìm kiếm

Back
Top