Lyft made a big bet on Apple's secret smash hit, Swift, and it paid off in a huge way
Lyft
It was a big risk: Swift is still largely untested in real-world apps, having only been introduced in 2014.
Meanwhile, Objective-C, the language that most iPhone apps are written in, was invented in 1984, making it a very tried-and-true and familiar experience for many programmers.
But it was also a very calculated risk, explains Lyft CTO Chris Lambert. With Swift, Apple "signaled that this was the future" of iPhone-app development, Lambert says, and Lyft wanted to be ready for whatever came next.
"It turned out to be a really fortuitous move," Lambert adds.
In the year since rewriting its iPhone app in Swift, Lambert says, it's been able to add more features faster while simultaneously cutting down on the time it takes to open the app. The net result: More iPhone owners taking more Lyft rides, which is very good for business.
It's had some other, mostly unanticipated benefits, too. In the last year, Lambert says, they've actually doubled the lines of code that power the Lyft app, owing largely to the fact that the startup's developers are that much more productive in the new language.
Outside of Lyft, Swift is winning praise as the easiest programming language to learn, and one that's just fun to write code for. Lambert praises Apple for its willingness to use Swift to rethink how programming languages are made.
"Every small detail of the language has been rebuilt," Lambert says.
Swift on the job
Plus, adopting Swift in such a big way was a sign to top job candidates that they're not just "dabbling" in the programming language, meaning that they've added 10 new Swift developers in the last year alone - no mean feat amid the ongoing Silicon Valley talent-recruitment wars. Lyft is serious about Swift, and the developer community is responding.
The switch to Swift brought new energy to Lyft's iPhone team, Lambert says. When Swift was first announced in 2014, Lambert says, Lyft's developers started teaching themselves the new programming language on nights and weekends in preparation for the big shift.
People were so excited that they got a little ahead of themselves: It wasn't yet time to move over from Objective-C. "We actually had to actively stop people from using Swift," Lambert says.
YouTube
Still, Lambert says that he's glad Lyft made the move when it did: Rewriting the app "is not a trivial effort," he says, and the sooner they did it, the less code they'd have to reinvent in Swift from scratch.
In the meanwhile, Lambert admits Lyft runs into "rough edges" with Swift here and there, but Apple is working hard with the programming language's community to make it better for everybody.
"Apple has been very, very responsive to getting the kinks worked out," Lambert says.
- 2 states where home prices are falling because there are too many houses and not enough buyers
- US buys 81 Soviet-era combat aircraft from Russia's ally costing on average less than $20,000 each, report says
- A couple accidentally shipped their cat in an Amazon return package. It arrived safely 6 days later, hundreds of miles away.
- 9 health benefits of drinking sugarcane juice in summer
- 10 benefits of incorporating almond oil into your daily diet
- From heart health to detoxification: 10 reasons to eat beetroot
- Why did a NASA spacecraft suddenly start talking gibberish after more than 45 years of operation? What fixed it?
- ICICI Bank shares climb nearly 5% after Q4 earnings; mcap soars by ₹36,555.4 crore
- Nothing Phone (2a) blue edition launched
- JNK India IPO allotment date
- JioCinema New Plans
- Realme Narzo 70 Launched
- Apple Let Loose event
- Elon Musk Apology
- RIL cash flows
- Charlie Munger
- Feedbank IPO allotment
- Tata IPO allotment
- Most generous retirement plans
- Broadcom lays off
- Cibil Score vs Cibil Report
- Birla and Bajaj in top Richest
- Nestle Sept 2023 report
- India Equity Market