Slashdot Mirror


Apple Releases First Preview of Swift 3.0 (macrumors.com)

DaGoatSpanka quotes a report from MacRumors: Apple yesterday released the first preview build of Swift 3.0, a major update to Apple's open source Swift programming language. Swift 3.0's official release is expected to come in late 2016 after proposed changes are finalized. The Swift 3.0 preview can be downloaded from the official Swift website. There are versions of Swift 3.0 available for Xcode 7.2, Ubuntu 14.04, and Ubuntu 15.10. [Swift 3.0 is not source compatible with Swift 2.2 as it introduces source-breaking changes, but going forward, the goal is to make Swift 3.0 source compatible with future Swift language updates.] Swift 3.0 will likely be shown at Apple's upcoming Worldwide Developers Conference (WWDC).

6 of 227 comments (clear)

  1. Re:what did they break this time by pushing-robot · · Score: 5, Informative

    No, function calls.

    https://www.hackingwithswift.c...

    Yes, it'll make code shorter and simpler, but renaming most library methods is still a kick in the teeth to developers.

    --
    How can I believe you when you tell me what I don't want to hear?
  2. Re:Swift 2.0 by 110010001000 · · Score: 3, Informative

    Really? So you are saying my PDP11 ML knowledge isn't obsolete? Thanks for the tip. It isn't trolling: it is a warning to avoid languages controlled by a single corporate entity. They can pull things from under you at their whim. Also, what a laugh: Swift 2.2 was released on MARCH 16, 2016!

  3. Re:what did they break this time by Maury+Markowitz · · Score: 4, Informative

    Clearly all the people complaining don't actually use Swift for production code and/or just like to complain.

    I converted my antenna modelling project to 3.0 in about three minutes. Most of this was due to the new selector syntax, which I had to spend time looking up on Stackoverflow. The rest was trivial, and my code is cleaner and shorter than ever.

  4. Re:Swift 2.0 by CastrTroy · · Score: 2, Informative

    Swift is a good idea of how to do things wrong. But what about C#. It's made my Microsoft, who everybody loves to hate, yet C# and the .Net framework is probably one of the best development environments out there. They have a pretty good record of not breaking too many things with new releases. They also do pretty well adding new features that programmers want. I prefer it much more to other languages that aren't controlled by corporations such as PHP, Python, or C++..

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  5. Re:Swift 2.0 by Altus · · Score: 3, Informative

    Apple stated when Swift 1.0 was released that it was a work in progress and that there would be a flurry of updates coming and that, while they would maintain binary compatibility, they would not be able to maintain source compatibility as they changed and streamlined the language. Anyone using swift is well aware of this.

    --

    "In America, first you get the sugar, then you get the power, then you get the women..." -H. Simpson

  6. Re:Swift 2.0 by Dog-Cow · · Score: 3, Informative

    Not everyone is a lazy shit. It takes about 5 minutes to update a moderately-sized code base from 2.2 to 3.0 syntax. Xcode provides a built-in tool to do it for you, and you just have to fix up the few cases it doesn't find on its own. It's really trivial for anyone who isn't a spoon-fed piece of dirt.