Re:Introducing Swift
by seanalltogether on Monday June 02, 2014 @03:47PM
(#7835757)
the typing system seems to be from ecmascript as well
var distance:Double = 70.0
Re:Introducing Swift
by munificent on Monday June 02, 2014 @07:00PM
(#7837049)
This type annotation syntax comes from ML in the 70s (60s?).
Re:Introducing Swift
by Raphael_Amiard on Tuesday June 03, 2014 @02:25PM
(#7841910)
Pascal actually predates ML and has this syntax too. http://en.wikipedia.org/wiki/Pascal_(programming_language)
Re:Introducing Swift
by Sami_Lehtinen on Tuesday June 03, 2014 @10:43AM
(#7840464)
Programmers here? But they haven't ever heard of BASIC? LET has been used for variables least since 1968.
Re:Introducing Swift
by zimpenfish on Tuesday June 03, 2014 @10:46AM
(#7840492)
Hasn't it been used for binding in LISPs since the early 1960s? Swings and roundabouts.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...