Quest Henkart
Nov 8, 2022

--

You made nice points but unfortunately this just doesn’t scale well. A single ternary in a render statement is easy to read. But as they grow and become more complicated. It’s impossible to read. The same applies for any use of if + else in code. Designing the code to handle a single if statement allows code to read like English without complicated mental puzzles

--

--

Quest Henkart
Quest Henkart

Written by Quest Henkart

Director of Software Architecture at Glidr.io

No responses yet