What is swift oriented to?
Similar to php, swift supports both process-oriented and object-oriented. There is no need to write all operations as a single class and method. Java is a strict object-oriented language.But PHP is a scripting language, but swift is not, the scripting language is interpreting execution, the execution file is text; the compiled language, the execution file is binary, swift needs to be compiled to generate a binary executable file.
Swift is not a weak type
This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!
Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/learning-swift-one-instance-1-language-description-2.html