Re:Comparing the Same Project in Rust, Haskell, C++, Python,...
by wvenable on Sunday June 16, 2019 @01:14AM
(#20193957)
Nope, even code with doubly, triply, or quadruple-ly nested if statements is typically hard to read. I usually refactor that down to avoid that level of nesting.
I don't think there's ever a good excuse for that much nesting of ternary operators.
I don't think there's ever a good excuse for that much nesting of ternary operators.