Tom Ritchford
1 min readSep 29, 2019

--

Your example is a tricky read, particularly if you are skimming the code. What’s easier to understand?

(subtract if a > b else add)(a, b)

or

subtract(a, b) if a > b else add(a, b)

?

--

--

Responses (1)