Skip Navigation
Hacker News @lemmy.bestiver.se RSS Bot @lemmy.bestiver.se
BOT

Avoiding if-else Hell: The Functional Style

lackofimagination.org Avoiding if-else Hell: The Functional Style

Many years ago, I took part in the development of a taxi-hailing mobile app that is still widely used today. I don’t know what kind of code they’re running now, but in those early days, the driver assignment code –if I remember it correctly– was similar in spirit to the grossly simplified example th...

Avoiding if-else Hell: The Functional Style
1

You're viewing a single thread.