-
Notifications
You must be signed in to change notification settings - Fork 243
Copy edit and slightly tone down front page #1065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
} | ||
|
||
- title: Expressive | ||
subtitle: Concise code. Powerful results. | ||
subtitle: Concise code, powerful results. | ||
text: Swift empowers you to write advanced code in a concise, readable syntax that even a beginner can understand. Swift supports object-oriented, functional, and generic programming patterns that experienced developers are familiar with. Its progressive disclosure allows you to pick up the language quickly, taking advantage of power-user features as you need them. | ||
code: |- | ||
import ArgumentParser | ||
|
@@ -39,7 +39,7 @@ | |
|
||
- title: Safe | ||
subtitle: Protect memory safety. | ||
text: Swift prioritizes safety and eliminates entire classes of bugs and vulnerabilities by its design. Memory safety and data race safety are core features of the language, making them straightforward to integrate into your codebase. Safety is required at compile time, before your applications are ever run. | ||
text: Swift prioritizes safety and eliminates entire classes of bugs and vulnerabilities by its design. Memory and data race safety are core features of the language, making them straightforward to integrate into your codebase. Safety is required at compile time, before your applications are ever run. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I recommend we leave this as-is so we maintain "memory safety" as a keyword. |
||
code: |- | ||
let transform = Affine2DTransformBuilder() | ||
.translate([10.0, 20.0].span) | ||
|
@@ -54,8 +54,8 @@ | |
let uMagnitude = vec_mag(u.span) | ||
|
||
- title: Interoperable | ||
subtitle: Adopt in existing code incrementally. | ||
text: Swift provides unmatched interoperability with its combination of natively understanding C and C++ types without the need for foreign function interfaces, and by providing bridging for bi-directional access. Swift’s interoperability features allow you to incrementally adopt the language into existing codebases without requiring a full code rewrite. | ||
subtitle: Adopt Swift in existing code incrementally. | ||
text: Swift provides unmatched interoperability, with its combination of natively understanding C and C++ types, without the need for foreign function interfaces, and providing bridging for bi-directional access. Swift’s interoperability features allow you to incrementally insert the language into existing codebases without requiring a full code rewrite. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I recommend we stick with the original version, including "adopt" which aligns with the incremental adoption story of the language. |
||
code: |- | ||
import CxxStdlib | ||
|
||
|
@@ -71,7 +71,7 @@ | |
|
||
- title: Adaptable | ||
subtitle: From microcontrollers to servers. | ||
text: "The only language that can span from embedded and kernel, to server and apps. Swift excels no matter where it’s used: from constrained environments like firmware where every byte counts, to cloud services handling billions of requests a day." | ||
text: "The only language that can span from embedded and kernel to server and apps. Swift excels no matter where it’s used, from constrained environments like firmware, where every byte counts, to cloud services handling billions of requests a day." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd recommend that we remove "only language" here as well. Perhaps changing it to "Swift spans from"? |
||
code: |- | ||
// Configure UART by direct register manipulation | ||
// using Swift MMIO. Enables RX and TX, and sets | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,11 +53,11 @@ atom: true | |
<section id="pillar-1" class="section pillar"> | ||
<div class="pillar-wrapper content-wrapper"> | ||
<p class="pillar-intro"> | ||
Swift is the only language that scales from embedded devices and kernels to apps and cloud infrastructure. It’s simple, and expressive, with incredible performance and safety. And it has unmatched interoperability with C and C++. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mainly got rid of "only language" because the first sentence above already establishes that it is a programming language- no need to restate it- but some people also felt "only" was an exaggeration. |
||
Swift scales from embedded devices and kernels to apps and cloud infrastructure. It’s simple and expressive, with incredible performance and safety. And it has unmatched interoperability with C and C++. | ||
</p> | ||
<br /> | ||
<p class="pillar-intro"> | ||
It's the combination of approachability, speed, safety, and all of<br class="hide-small"/> Swift’s strengths that make it so unique. | ||
It's the combination of approachability, speed, safety, and all of<br class="hide-small"/> Swift’s strengths that make it unique. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The so is added emphasis, but I can see how saying something is "so unique" may not land. How about we move "unique" earlier in the statement, and change unique to powerful? I recommend this revision: "It's the unique combination of approachability, speed, safety, and all of Swift's strengths that make it so powerful. Let me know if you'd like to incorporate the change, otherwise I'm happy to open an additional PR. |
||
</p> | ||
</div> | ||
{% for callout in pillar1_callouts %} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stylistically could we leave this subtitle as-is?