The Swift Programming Language
221–230 of 970 posts
Re: The Swift Programming Language
#222“You also don’t need to write semicolons at the end of every statement.” Please. Please. PLEASE don't be whitespace delimited!
Re: The Swift Programming Language
#223Kind of looks like they took their logo too. LOL
Re: The Swift Programming Language
#224www.mcs.anl.gov/papers/P1818.pdf Swift: a language for parallel scripting, 2011, mostly from University of Chicago Anyone knows if it's related?
Re: The Swift Programming Language
#225Feels like they looked at a bunch of programming languages, took all their favorite features, and then put them into one which still sits on top of the ObjC runtime. And then added some Apple syntactic craziness. For example: var apples = 3; // mutable let oranges = 5; // immutable let summary = "I have \(apples) apples and \(oranges) oranges";
The string interpolation syntax is unique, but kind of makes since given then \ is the escape character in C strings.
Re: The Swift Programming Language
#226It seems like the only way to view the programming language documentation is on iBooks on an iOS device? For a programming book, this is ridiculous. Edit: The latest version of OS X does support iBooks. Lets hope you have that.
Re: The Swift Programming Language
#227As someone who always disliked Objective C, I think Swift looks very promising. I'll check it out right away :) Software-wise, I feel these current WWDC announcements are the most exciting in years. Looking at the Swift docs right now, I can see many interesting inspirations at work: there's some Lua/Go in there (multiple return values), some Ruby (closure passed as the last argument to a function can appear immediat…
He mentioned the desire to drop the "C" from objective-c, but I'm curious what this means for using c/c++ libraries now. Do they need to be wrapped by objective-c before being visible in swift?
Re: The Swift Programming Language
#228Re: The Swift Programming Language
#229Really excited and surprised by this announcement. Anyone know the provenance of this language? Who built it, what are its intellectual roots?
Re: The Swift Programming Language
#230serious question: why?