Swift: Apple's new programming language

Moderator
Posts: 384
Joined: 2002.08
Post: #1
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-swi...6329?mt=11

KB Productions, Car Care for iPhone/iPod Touch
@karlbecker_com
All too often, art is simply the loss of practicality.
Quote this message in a reply
Member
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
Moderator
Posts: 771
Joined: 2003.04
Post: #3
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.


Attached File(s) Thumbnail(s)
   
Quote this message in a reply
Moderator
Posts: 449
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!

Alex
Quote this message in a reply
Member
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
http://www.justinfic.com
"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 6,768 Apr 8, 2010 12:40 PM
Last Post: AnotherJake
  Revised: What is your favorite programming language? akb825 48 16,130 Mar 18, 2006 03:55 PM
Last Post: OneSadCookie