title: Mar 06 2020 - 10:31:41 PM
date: 2020-03-06 22:31:41
slug: 06-223141
status: published
display_format: short-note
link: https://jj.isgeek.net/2020/03/06-223141/
titleless: True
syndication: https://twitter.com/jjdelc/status/1236056891060621313


I optimized an `if/elif` statement from 2 deep nested to just two flat conditions by being clever with logical junctions, but it's too difficult to keep up with that boolean logic, so returning to the longer version :-/