Live data from Hacker News

The Swift Programming Language

developer.apple.com

351–360 of 970 posts

Re: The Swift Programming Language

#351
post #304

Earlier quoted context omitted.

"Clueless hipsters" will attract downvotes.

I didn't use that term until after the downvotes.

The post in this thread uses the term "clueless hipsters" in its first sentence. That phrase will attract downvotes. If you care about downvotes stop using needlessly polarising terminology. If you don't care about downvotes, well, do whatever.

Re: The Swift Programming Language

#352
post #37

I'm not even an iOS developer but this is by far the most exciting thing I heard in the keynote. As an amatuer/hobbyist programmer who's self-taught with Ruby, JavaScript, etc., the one thing that was keeping me from experimenting with iOS apps was Objective-C. I know I could tackle it, but it's been hard to take the plunge. I don't know much about Swift yet, but from what I've seen it looks very exciting. So if Appl…

I don't get the hate. Yeah, syntax is unfamiliar, bu once I got used to it I began to really enjoy objective-c. Ymmv etc., but it's now one of my fav languages - though I guess this is mostly due to cocoa

I never understood what the fuss was all about either.

If you know one other language really well, Objective-C should take a week or two to get use to.

To understand all the design patters, apple HIG, XCode, profiling, libraries, debugging, app submission, etc, these combined is where youll sink your time to learn iOS development. Imo, Objective-C is the easy part.

Re: The Swift Programming Language

#354
post #314
post #279

Earlier quoted context omitted.

You can see first chapter of the book here http://imgur.com/a/AuzGw I've uploaded it just now

Why I get down votes? It's a free book. People on other platforms can't access it.

Welcome to HN where it seems everyone disregards others work/opinions if they have any reasoning that may only make sense to them.

I'll get down voted for this, and it will be truly ironic.

Re: The Swift Programming Language

#355
post #289

"The company says that Swift apps are significantly faster than Objective-C apps, outperforming them by over 93x." With a graph showing ObjC at 127x faster than Python, Swift 220x faster than Python. Thus the conclusion is 220 - 127, Swift is 93x faster than ObjC. Someone needs to resit their GCSEs.

"93x faster" sounds roughly like a 46.5x improvement in marketing.

Re: The Swift Programming Language

#356
post #165

Feels 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";

Using the backslash+parens for interpolation is really clever! No more ambiguity like when using % or {}. Is that a Swift original syntax?

Yeti (http://mth.github.io/yeti/) uses that syntax. One of my favourite languages.

Re: The Swift Programming Language

#358
post #37

I'm not even an iOS developer but this is by far the most exciting thing I heard in the keynote. As an amatuer/hobbyist programmer who's self-taught with Ruby, JavaScript, etc., the one thing that was keeping me from experimenting with iOS apps was Objective-C. I know I could tackle it, but it's been hard to take the plunge. I don't know much about Swift yet, but from what I've seen it looks very exciting. So if Appl…

  > So if Apple's goal was to get new devs into the iOS world, at least
  > from 10k feet, it's working
They just announced Swift, at a conference for Apple developers, with live streaming that is only easily accessed from an ios device. I think it is probably premature to pop the corks and celebrate the efficacy of the get new developers initiative.

Re: The Swift Programming Language

#360
post #289

"The company says that Swift apps are significantly faster than Objective-C apps, outperforming them by over 93x." With a graph showing ObjC at 127x faster than Python, Swift 220x faster than Python. Thus the conclusion is 220 - 127, Swift is 93x faster than ObjC. Someone needs to resit their GCSEs.

For context: This story previously pointed to an article, but has now been changed to point to Apple.
Post reply on HN