https://kotlinlang.org logo
#functional
Title
# functional
j

Jerry Liu

03/25/2022, 3:37 PM
Hey folks, this is Jerry from DoorDash! When DoorDash moved from a monolith to microservices my team was looking for ways of making our code cleaner and more reliable. One of the low-hanging fruits was to utilize functional programming more instead of pure imperative programming/OOP when using Kotlin for writing backend services. I thought I would share some of these experiences with the developer community and wrote this guide “How to leverage functional programming in Kotlin to write better, cleaner code” that explains: The differences between FP and imperative programming and how to code different use-cases in Koltin with FP vs Imperative.
👌 1
👌🏼 1
🎉 6
p

pakoito

03/27/2022, 10:01 AM
You better change all collections to Sequences to avoid The Wrath Of Cargo Cult on Reddit lol
j

Jerry Liu

03/28/2022, 1:42 PM
Haha yea I realized that after posting the blog post 😄 I’ve been talking to some folks internally within DoorDash to see if it can be part of a follow-up more in-depth post in the future
4 Views