• Skip to main content
  • Skip to primary sidebar

Ravi Shankar

Lifelong Learner

  • About
  • Portfolio

Decode job advert posted in Swift Language

By Ravi Shankar 1 Comment

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())


Filed Under: Apple, Develop, Programming Tagged With: Apple, Job, Swift

Reader Interactions

Comments

  1. Rohit says

    October 2, 2014 at 8:24 pm

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

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

  • Email
  • LinkedIn
  • Twitter

iOS Cheat Sheets

Download free copy of iOS Cheat Sheets

Copyright 2023 © rshankar.com

Terms and Conditions - Privacy Policy