>None of those things seem particularly modern to me. Does swift actually have any concepts that weren't already implemented in other languages by say, 1980?
Modern for mainstream languages. Non-mainstream languages are irrelevant to the discussion, since nobody cares about theme except niche industries, hobbyists and academics...
>but the flip side is - why not learn older, simpler, more mature languages that already have those concepts?
Because those languages are not tied to a $50 billion app industry or have major adoption and increased support.
Re:Swift architecture at Uber
by paulddraper on Wednesday April 26, 2017 @11:07PM
(#14208880)
It has options instead of null
To which the same argument applies.
Re:Swift architecture at Uber
by paulddraper on Thursday April 27, 2017 @06:26AM
(#14210449)
Which languages before 1980 had an option/maybe type?
Re:Swift architecture at Uber
by steveklabnik on Thursday April 27, 2017 @07:13AM
(#14210637)
https://en.wikipedia.org/wiki/Tagged_union#1960s (and so on in the rest of the article; you could make the argument that being able to express a sum type and using option/result pervasively are different things; I don't know much about early ML but it was from '73...)
Re:Swift architecture at Uber
by paulddraper on Thursday April 27, 2017 @10:12AM
(#14211575)
No, a sum type is the essence.
TIL that ML is ooold.
ML has roots that go back a long ways, but it wasn't developed as a general-purpose programming language (for use outside theorem provers) until the '80s, and I'd consider it properly "released" to the general public as something intended for real use only in the 1990s, with the publication of the Standard ML definition (1990) the release of OCaml (1996).
Re:Swift architecture at Uber
by Tanegashima on Thursday April 27, 2017 @01:27AM
(#14209368)
Protocol extensions.
None of those things seem particularly modern to me. Does swift actually have any concepts that weren't already implemented in other languages by say, 1980?
It might seem like I'm being pedantic, but the flip side is - why not learn older, simpler, more mature languages that already have those concepts?