iDevGames Forums
Swift: Apple's new programming language - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Community Zone (/forum-4.html)
+--- Forum: Assembly Room (/forum-13.html)
+--- Thread: Swift: Apple's new programming language (/thread-11152.html)



Swift: Apple's new programming language - funkboy - Jun 2, 2014 12:11 PM

Who saw THIS coming? Whoa... unexpected!

Here's the introductory book on the language, available for free in iBooks:
https://itunes.apple.com/us/book/the-swift-programming-language/id881256329?mt=11


RE: Swift: Apple's new programming language - monteboyd - Jun 2, 2014 05:35 PM

I did not see this coming and after an initial freak out I'm pretty excited. Smile


RE: Swift: Apple's new programming language - PowerMacX - Jun 2, 2014 09:31 PM

Sneaky
My code comments are about to become awesome.

Quote:“Naming Constants and Variables
You can use almost any character you like for constant and variable names, including Unicode characters:

let π = 3.14159
let 你好 = "你好世界"
let ?? = "dogcow”

Excerpt From: Apple Inc. “The Swift Programming Language.” iBooks. https://itun.es/ar/jEUH0.l

Edit: forum unicode fail, last one was supposed to look like in the attached pic.


RE: Swift: Apple's new programming language - EvolPenguin - Jun 4, 2014 10:03 AM

Haha, super pumped as well! Looks like there's still some stuff to iron out (private, protected, public as well as others) but liking these changes from Apple, exciting and different to see!

Alex


RE: Swift: Apple's new programming language - JustinFic - Jun 4, 2014 01:39 PM

Pfffft. It's no Hypertalk. Wink

Didn't expect this at all. I like the idea of it, and I like what features I've seen in the language so far (I've only gone through a small portion of the book.) I never like using platform-specific code, though, so I doubt I'd use it heavily for games. Also makes me glad I never committed too heavily to Obj-C.

The concept of playgrounds is very cool, though, and I can easily see myself using that to mock up algorithms or visualize/experiment with new interpolation functions. I've been wanting a good coding scratchpad for years.

And seeing a sandboxed version of playgrounds as an iOS app would be wonderful.