Talk:Swift (programming language)
This is the talk page for discussing improvements to the Swift (programming language) article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1Auto-archiving period: 6 months |
This level-5 vital article is rated B-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||||||||||||
|
Article reads like marketing material for Swift language lovers
[edit]Suggest rewrite to express Swift without the marketing angle. — Preceding unsigned comment added by 98.6.205.71 (talk) 05:22, 10 February 2020 (UTC)
Include discussion on performance or remove section
[edit]The section on performance is very short: "Many of the features introduced with Swift have well-known performance and safety trade-offs. Apple has implemented optimizations that reduce this overhead.[77]".
It leads to more questions than answers:
- What are the performance trade-offs?
List them! At least include some examples, even if they're supposed to be "well-known" (which is never substantiated with a citation). - What are the "well-known" safety trade-offs?
List them! Same issue as with performance trade-offs. - What is the overhead mentioned in the last sentence?
Since this section is only about performance, it should include at least a summary of the content from the citation. - What has apple done to reduce this overhead?
Shortly summarize the citation. - Is the overhead completely neutralized?
The sentence is completely worthless without knowing how much of that overhead has been compensated. This info is vital for users to decide whether the overhead is of concern.
Without tackling these issues, this whole section just sounds like: "Apple included stuff that is not good for performance or security, but we won't tell you what it is. Apple thought about these issues, so just trust them and assume that they fixed every problem without requiring any prove or explanation".
In short, this section contains as much information as the sentence "trust me, I'm an engineer".
Laciuhnf (talk) 15:49, 23 April 2021 (UTC)
Should "Kotlin" be a "Influenced by" entry?
[edit]Swift seems similar in terms of syntax to Kotlin. Take a look at this comparison: http://nilhcem.com/swift-is-like-kotlin/ Should "Kotlin" be a "Influenced by" entry? — Preceding unsigned comment added by 27.0.3.145 (talk) 08:12, 8 June 2017 (UTC)
No, influenced by languages / languages that Swift influenced need to come from official (from eg Swift designers), credible sources, not by an outsider's opinion how they think two languages are alike. We could for example add that Swift influenced Rust: https://doc.rust-lang.org/reference/influences.html — Preceding unsigned comment added by 2601:647:4801:626C:CD45:CED8:69BA:9221 (talk) 17:49, 20 April 2019 (UTC)
A Commons file used on this page or its Wikidata item has been nominated for deletion
[edit]The following Wikimedia Commons file used on this page or its Wikidata item has been nominated for deletion:
Participate in the deletion discussion at the nomination page. —Community Tech bot (talk) 03:53, 18 April 2020 (UTC)
Potential error in paragraph under "Basic Syntax" section
[edit]After the third code block in the Basic Syntax section, there's a paragraph beginning:
else
statements require that the given condition is true...
From the context surrounding that paragraph, I feel like references to
should instead be references to else
statements
, but I don't know enough about Swift to be sure. Could someone passing by with more knowledge of Swift please confirm? KCastellino talk 15:35, 24 October 2023 (UTC)
guard
statements
Impact and adoption?
[edit]I'm surprised this article is rated B-Class because it seems to have an obvious omission: any discussion of the Swift language's impact on the industry, or its level of adoption (for example, to what extent has it replaced Objective-C for developing Mac/iOS apps? is it used outside the Apple ecosystem?). The sidebar says Swift influenced Rust and V, but the body doesn't describe said influence. I would humbly suggest that a knowledgeable editor consider adding this kind of context (and that maybe the article is C-Class as long as that's missing). Graue (talk) 04:51, 17 April 2024 (UTC)
- B-Class level-5 vital articles
- Wikipedia level-5 vital articles in Technology
- B-Class vital articles in Technology
- B-Class Technology articles
- WikiProject Technology articles
- B-Class Computing articles
- High-importance Computing articles
- B-Class software articles
- Low-importance software articles
- B-Class software articles of Low-importance
- All Software articles
- B-Class Computer science articles
- Mid-importance Computer science articles
- B-Class Free and open-source software articles
- Low-importance Free and open-source software articles
- B-Class Free and open-source software articles of Low-importance
- All Free and open-source software articles
- All Computing articles
- B-Class Apple Inc. articles
- High-importance Apple Inc. articles
- WikiProject Apple Inc. articles