Swift: Apple's new programming language

Posts: 387
Joined: 2002.08
Post: #1
Who saw THIS coming? Whoa... unexpected!

Here's the introductory book on the language, available for free in iBooks:

KB Productions, Car Care for iPhone/iPod Touch
All too often, art is simply the loss of practicality.
Quote this message in a reply
Posts: 353
Joined: 2002.04
Post: #2
I did not see this coming and after an initial freak out I'm pretty excited. Smile
Quote this message in a reply
Posts: 776
Joined: 2003.04
Post: #3
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.

Attached File(s) Thumbnail(s)
Quote this message in a reply
Posts: 456
Joined: 2003.08
Post: #4
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!

Quote this message in a reply
Posts: 338
Joined: 2004.07
Post: #5
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.

Justin Ficarrotta
"It is better to be The Man than to work for The Man." - Alexander Seropian
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  You're all wasting your time making games for Apple's platforms Carlos Camacho 16 11,699 Apr 8, 2010 12:40 PM
Last Post: AnotherJake
  Revised: What is your favorite programming language? akb825 48 25,912 Mar 18, 2006 03:55 PM
Last Post: OneSadCookie