1.1. About Swift

Yohan Hyunsung Yi
Journey to Tech Company
2 min readApr 5, 2018

Apple has created a new programming language called Swift to use in its product development for iOS, macOS, watchOS, and tvOS. Swift is aiming at safety-first programming patterns and introduces many new features such as optional, generic, protocol, tuple, and extension for easier and more fun programming. Apple now shares Swift open source and has the potential to be used on a variety of platforms besides Apple’s platform.

Swift is a convenient, high-level language. First, it supports ARC (Automatic Reference Counting), so you can easily manage memory. In addition, it is a language that can be easily and variously expressed like a script language. Thus, Swift combines the philosophy of modern languages, and compiler performance is optimized for faster program execution and shorter build times.

“The edge of the back part of a black iPhone” by Xavier Wendling on Unsplash

Features of Swift

Safe

Sweet is oriented towards safe programming. It tried to prevent the mistakes that programmers could make before the software was released, that is, during programming, through strict grammar. Sometimes it sounds too compelling, but grammatical sanctions can help to reduce mistakes. You can save time fixing bugs or finding mistakes. With optional, guard syntax, error handling, and powerful type control, Swift implements secure programming.

Fast

Swift is designed to replace programming languages ​​like C, C ++, and Objective-C that are based on the C language. Although it is still partially lacking, performance has also been developed for C language level. So Swift was developed with a focus on keeping performance at a predictable and constant level. In addition to optimizing execution speed, the compiler maintains faster compilation performance through continuous improvement.

Expressive

Swift looked at the advantages and disadvantages of many programming languages ​​and tried to make it easier to use and to use good grammar. This allowed us to implement the modern and sophisticated syntax that developers wanted.

Programming Paradigm

Swift is a multi-paradigm programming language that borrows a number of programming paradigms. In a nutshell, Swift borrowed an imperative programming paradigm, an object-oriented programming paradigm, a functional programming paradigm, and a protocol-oriented programming paradigm.

--

--