by GeorgeTirebiter · 8mo ago · 0 comments
is there something 'less good' about:
let v1 = if v0 < 0 then 0 else v0
Am I the only one who stutter-parses "0 > value" vs my counterexample?Is Yoda condition somehow better?
Shouldn't we write: Let v1 = max 0 v0
No comments yet.