3 ms·
Oh no, hard disagree. The match implementation is far easier to reason about. I can see at a glance that if both condition_a and condition_b are true, call fn_a
by cratermoon 3y ago
Oh no, hard disagree. The match implementation is far easier to reason about. I can see at a glance that if both condition_a and condition_b are true, call fn_a(). For the nested if version I have to trace each expression by hand.
- Izkata 3y agoThey said "isn't", not "is". Double negative. You two agree.
- cratermoon 3y agoUgh. I missed that. No wonder my grade school teachers taught us "don't use no double negatives".