Swift Is Like Ruby

27 May 2016

Few weeks ago I started learning a bit of Swift and iOS development. Swift is a really nice language and easy to pick up if you already know JavaScript, Ruby, Python et al.

I’ve adapted a cheat sheet I found for Swift 2 & Kotlin to Ruby. Ruby is a polyhedric language, with several ways to do things. I’ve taken my preferred answer to some equivalences, YMMV!

Have a look at Swift is like Ruby.