|
|
|
|
|
by GeorgeTirebiter
88 days ago
|
|
i let v0 = 0.616u + 0.291v - 0.135
let v1 = if 0 > v0 then 0 else v0 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 |
|