Why Coders Are Going Nuts Over Apple’s New Programming Language
wired.com
wired.com
I find it interesting, but a majority of what I'm reading from others indicates:
* It's interesting
* It feels like Go.
* It borrows heavily from Rust
but the biggest thing...
* It's better than Objective-C
But then, this is Wired.
This is pretty much the only thing we (programmers) at my work were talking about yesterday. The language itself is pretty neat but not really anything groundbreaking. The fact that you can code iOS without using Objective-C or busting down to the C++ level is really great news though.
Ummm... Automatic Reference Counting is not new to Swift (nor is it "garbage collection"), and has been part of Objective-C since 2011.
https://developer.apple.com/library/prerelease/ios/documenta...
I thought the "interactive playground" was just a REPL, is it something more?
It doesn't work at the level of single expressions. It's more like a script editor that re-runs the script in realtime, as it's edited. It also allows real-time inspection of values, with useful visual representations (e.g. graphs of values over time, colours, paths, images etc.)
It's pretty cool, though I'm not sure how much use it is over a regular debugger for an experienced programmer. Great for playing around with though.