News for hackers. Stuff that matters.
Re:Show HN: Learn Swift by davnicwil on Wednesday June 10, 2015 @01:15AM (#9690201)
This is fantastic, just what I was looking for, a very quick intro to swift that assumes I'm already a programmer.

The Apple docs, at least last time I tried reading through them, were like wading through treacle so this is a great alternative! I just read the first couple of chapters in 10 minutes and got all the key info I wanted with no fluff - great job!

One edit suggestion - I've noticed a couple of times so far that "it's" is used incorrectly, for example in this sentence:

> You can’t change the type of a variable once you’ve declared it. It’s type is fixed at the time it is declared.

I assume you know the error here but on the off chance you don't:

it's = it is (it's a Bool) / its = the possessive of it (Bool is its type)

It's a little jarring so you might want to go through and fix these.

Cheers for the book! :-)

Re:Show HN: Learn Swift by aidanf on Thursday June 11, 2015 @10:25AM (#9699882)
Thanks for that - I'll fix the errors you've listed. I know how to use its and it's, and I've proof-read the book several times, but there's still a good bit of stuff like this that I've missed.

It turns out that it's really difficult to proof-read large blocks of text that you've written yourself :/ When your brain sees something it recognises it tends to speed up and skip over bits, seeing what it wants to see, thus missing stuff like this.

Re:Show HN: Learn Swift by davnicwil on Thursday June 11, 2015 @04:24PM (#9702142)
No probs, and great choice of model by the way, offering the web version for free.

For learning a programming language I actually prefer the web format to the ebook. Now I've figured out how useful this book will be by reading a few chapters, I'll certainly purchase a copy anyway, $12 is more than reasonable for the value this provides!