Menu

Avoiding Conditionals, an example

Published on August 14, 2017 and filed under Software engineering
Written
by Tony Messias and will take

4 minutes

of your time.
In short
Thinking in Conditionals: I started implementing it the way I write the specs above. When I finished it, it felt a hacky and something I wasn't really happy with, see the pseudo code I ended up with...
Twitter logo

Want to see more articles like this in your inbox? You know what to do.

Written by

Tony Messias

Tony is a passionate software engineer who worked for madewithlove from 2014 till 2020.

Related articles

Querying your Redux store with GraphQL

Querying your Redux store with GraphQL

Emma Fabre

December 21, 2020

Serverless functions with Vercel

Serverless functions with Vercel

Geoffrey Dhuyvetters

September 02, 2020

I'm starting a greenfield project and I'm terrified.

I'm starting a greenfield project and I'm terrified.

Jonas Drieghe

August 04, 2020