Avoiding Conditionals, an example
Published on August 14, 2017 and filed under Software engineering
Written by Tony Messias and will take
Written by Tony Messias and will take
4 minutes
of your time.In shortThinking 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...
Want to see more articles like this in your inbox? You know what to do.
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