Decode job advert posted in Swift Language

I came across this unique Swift job advert in stackoverflow.com posted by Criteo. (Need to add override for the init function, missed in the original job post)

var hello = "Hello, I am a Swift Program, paste me in the playground"

var doyouswift = "You think you have what it takes to build the next mobile advertising technologies ?"

class Hire {

    var r = "&"

    var d = "r"

    var ec = "@rt"

    func email() -> String{

        return "look at gogogo's"

    }

}

class HireMe: Hire{

    var me = "nt@"

    var crit = "e"

    let o = ".com"

  override init() {

        super.init()

        ec = "ruit"

    }

override func email() -> String{

        return super.email()+" preview, remove quotes and braces to reveal the email."

    }

}

var gogogo = HireMe()

println(gogogo.email())


In Category: Apple, Develop, Programming

Ravi Shankar

A polyglot software developer and now exploring Swift and iOS development. If you would like to learn from me then check out services page.

Show 1 Comment
  • Rohit October 2, 2014, 8:24 pm

    look at gogogo’s preview, remove quotes and braces to reveal the email.

Leave a Comment