Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Create an Uber Clone in 7 Days: Java vs Kotlin?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Shai.

Kotlin is a hype nowadays for Android apps and it's growing. Why have you chosen Java vs Kotlin?

Thank you!
 
Author
Posts: 32
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
great question!
In fact I think we might release a Kotlin edition if there is demand for this. It would definitely cut down on some of the boilerplate in the book.

I picked Java first because the content of the book grew organically. I started this book based on materials I developed for an online course which was initially pitched as a course for Java developers. So the code was already in Java which is a language I'm still more comfortable with. I think most Kotlin developers know Java and would be able to intuitively translate things to Kotlin relatively easily. The inverse isn't necessarily true.
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Shai,

Do you know if Uber is actually using Kotlin? And if so, for the Android app or in the backend?

Cheers,
Michael
 
Shai Almog
Author
Posts: 32
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have no knowledge of how Uber is actually implemented and didn't seek that out. I wanted to keep things "clean".
From my experience with such companies/projects I'm pretty sure the code is huge/old and filled with patches. It's really hard to migrate apps like this to any sort of new tool/technology/language. A rewrite is always tempting but it's often a huge task that managers try to avoid.
 
Marshal
Posts: 72946
330
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have a cow for reporting that spammy post Thank you.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you have already developed your Uber clone taxi application in JAVA then it it not advisable to switch Kotlin from Java as it can damage your product. As taxi app is integrated with sound features so better your developer should experience with another application fully on Kotlin.
 
Campbell Ritchie
Marshal
Posts: 72946
330
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
FC: welcome to the Ranch
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic