Jump to content

Talk:Swift (programming language)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by DFlhb (talk | contribs) at 08:28, 10 October 2022 (Assessment: banner shell, Apple Inc. (Top), Apple Inc. (Low) (Rater)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Article reads like marketing material for Swift language lovers

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]

Is this a sales promotion?

Is the preamble/intro section written by the Apple sales dept? — Preceding unsigned comment added by Hence Jewish Anderstein (talkcontribs) 17:25, 30 January 2017 (UTC)[reply]

@Hence Jewish Anderstein: Someone added a {{advert}} template to this article last year, and it's still here. I still don't see anything wrong with the lead section. Does anyone know why this cleanup tag was added to this article? Jarble (talk) 07:37, 16 May 2017 (UTC)[reply]

Include discussion on performance or remove section

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?

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]

One language or several

Technically Swift isn't one programming language but a family of (to some level) incompatible languages. This due to the forwards compatibility that is assumed as a property in a developing programming language isn't really there. Swift have had large changes in even fundamental parts of the design while still being a young language. The most obvious comparison (in modern programming languages) is that of Python 2.x to 3.x however Python don't do that kind of incompatible forking often and did not as a young language unlike Swift.

I'll not make an edit noting this as I'm a bit biased however it should be mentioned at least; especially as the incompatible changes are common, obvious and seem to be part of the development philosophy. 2.248.146.217 (talk) 10:40, 24 September 2017 (UTC)[reply]

A Commons file used on this page or its Wikidata item has been nominated for deletion

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]