Skip Navigation

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
35
35 comments
You've viewed 35 comments.