Difference between revisions of "Swift"
From Coder Merlin
m (Added access control under bullet points) |
|||
Line 1: | Line 1: | ||
See full list of languages [https://www.codermerlin.com/wiki/index.php/Programming_languages here] | |||
== What is Swift? == | == What is Swift? == | ||
Swift is a programming language made for development on apple devices. Swift was created by Chris Lattner and started development in 2010. For programming on apple devices, swift is a great alternative to Objective C (Which most programmers hate). | Swift is a programming language made for development on apple devices. Swift was created by Chris Lattner and started development in 2010. For programming on apple devices, swift is a great alternative to Objective C (Which most programmers hate). |
Revision as of 17:00, 13 February 2023
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
See full list of languages here
What is Swift?[edit]
Swift is a programming language made for development on apple devices. Swift was created by Chris Lattner and started development in 2010. For programming on apple devices, swift is a great alternative to Objective C (Which most programmers hate).
- Protocol-oriented programming (Basically OOP)
- Basic value types
- Access control
1. open 2. public 3. internal 4. fileprivate 5. private
- String support
1. Being able to concatenate strings similar to python
Performance[edit]
Swift runs significantly faster than Python, PHP, LUA(Nobody uses this), and Ruby but runs much slower than rust and C. This is pretty good for an object-oriented programming language.
Why swift?[edit]
- Swift is fast
- Swift can be used on IOS devices
- Swift is object-oriented
- Swift is modern
- Swift is common