(Translated by https://www.hiragana.jp/)
Talk:Swift (programming language) - Wikipedia Jump to content

Talk:Swift (programming language)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Qwerfjkl (bot) (talk | contribs) at 21:40, 15 July 2024 (Removed deprecated parameters in {{Talk header}} that are now handled automatically (Task 30)). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]

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 else statements should instead be references to guard 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)[reply]

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)[reply]