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

Creating a Scientific Pitch Notation Type using template literal types

Creating a Scientific Pitch Notation Type using template literal types

Geoffrey Dhuyvetters

February 24, 2021

12 Factors in the era of containers

12 Factors in the era of containers

Tony Messias

January 29, 2021

Querying your Redux store with GraphQL

Querying your Redux store with GraphQL

Emma Fabre

December 21, 2020