About Swift 5.2

About Swift

Whether it is for mobile phones, desktops, servers, or any other software running code, Swift is a kind way to write great software. This is a safe, fast and interactive programming language, combining the best content of various modern languages ​​contribute their wisdom and thinking of the broader Apple engineering culture and its open source community. The compiler is optimized for performance, and the language for the development of optimized, without sacrificing any performance.

Swift is very friendly to new programmers. This is an industrial-grade quality programming languages, like scripting language expressive and pleasure. Swift to write code on the Playground lets you test the code and see the results immediately, without having to build and run the application.

Swift through the use of modern programming mode defines the categories of common programming errors:

  • Variables are always initialized before use.
  • Check the array index out of bounds if there is an error.
  • Check whether integer overflow.
  • Selectable option ensures that explicitly deal with nil value.
  • Memory is managed automatically.
  • Error handling allows for controlled to recover from an unexpected failure.

Swift code is compiled and optimized to take full advantage of modern hardware. The syntax and standard library is based on the guiding principles of design, the guiding principle is obvious to write code the way it should be the best performer. The perfect combination of safety and speed of the Swift became the "Hello, world!" In all an excellent choice. The entire operating system.

Swift will be powerful type inference and pattern matching combined with modern lightweight syntax, which can be clear and concise way to express complex ideas. As a result, the code is not only easy to write, but also easy to read and maintain.

Swift has been developed for many years, and it is with the development of new features and functionality and continue to develop. Our ambitious goal for Swift. We can not wait to see you use it to create the content.

Beta Software

This document contains preliminary information on the API or technology under development is. This information may change, and final operating system software should be used to test the software in accordance with the implementation of this document.

 

Released four original articles · won praise 12 · views 10000 +

Guess you like

Origin blog.csdn.net/Luckyep/article/details/105034933
5.2
5.2