You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* New “Swift is…” copy.
* Tweaked preamble wording.
* Removed bolding from the About page.
* Typo.
* Whitespace.
* Fixed up sentence in the About page.
* More minor wording tweaks.
* Removed extra space.
* Suggestion from Reda on the quick and fast line.
Copy file name to clipboardExpand all lines: about/index.md
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,14 @@ layout: page
3
3
title: About Swift
4
4
---
5
5
6
-
Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.
6
+
Swift is a general-purpose programming language that's approachable for newcomers and powerful in expert hands. It is quick to write, fast to run, modern, and safe.
7
7
8
-
The goal of the Swift project is to create the best available language for uses ranging from systems programming, to mobile and desktop apps, scaling up to cloud services. Most importantly, Swift is designed to make writing and maintaining *correct* programs easier for the developer. To achieve this goal, we believe that the most obvious way to write Swift code must also be:
8
+
* Swift is general-purpose and modern. Suitable for everything from systems programming, through mobile and desktop apps, to cloud services.
9
+
* Swift is safe. Undefined behavior is the enemy of safety, and it’s best to catch mistakes before software goes into production. Swift makes the obvious path the safest.
10
+
* Swift is fast to run and quick to write. Swift is fast to run and quick to write. It comes with predictable and consistent performance that is on-par with C-based languages without sacrificing developer friendliness.
11
+
* Swift is approachable and powerful. From a single-line “Hello, World!” to large-scale apps with hundreds of thousands of lines. Swift scales with your needs.
9
12
10
-
**Safe.** The most obvious way to write code should also behave in a safe manner. Undefined behavior is the enemy of safety, and developer mistakes should be caught before software is in production. Opting for safety sometimes means Swift will feel strict, but we believe that clarity saves time in the long run.
11
-
12
-
**Fast.** Swift is intended as a replacement for C-based languages (C, C++, and Objective-C). As such, Swift must be comparable to those languages in performance for most tasks. Performance must also be predictable and consistent, not just fast in short bursts that require clean-up later. There are lots of languages with novel features — being fast is rare.
13
-
14
-
**Expressive.** Swift benefits from decades of advancement in computer science to offer syntax that is a joy to use, with modern features developers expect. But Swift is never done. We will monitor language advancements and embrace what works, continually evolving to make Swift even better.
13
+
## Tools
15
14
16
15
Tools are a critical part of the Swift ecosystem. We strive to integrate well within a developer's toolset, to build quickly, to present excellent diagnostics, and to enable interactive development experiences. Tools can make programming so much more powerful, like Swift-based playgrounds do in Xcode, or a web-based REPL can when working with Linux server-side code.
Copy file name to clipboardExpand all lines: index.md
+3-28Lines changed: 3 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,7 @@ title: Welcome to Swift.org
4
4
atom: true
5
5
---
6
6
7
-
# Welcome to Swift.org
8
-
9
-
Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.
7
+
<h1class="preamble">Swift is a <strong>general-purpose</strong> programming language that's <strong>approachable</strong> for newcomers and <strong>powerful</strong> in expert hands. It is <strong>quick</strong> to write, <strong>fast</strong> to run, <strong>modern</strong>, and <strong>safe</strong>.</h1>
10
8
11
9
{% for snippet in site.data.featured_snippets %}
12
10
```swift
@@ -37,7 +35,7 @@ Swift is a general-purpose programming language built using a modern approach to
0 commit comments