Re:Software error doomed Japanese Hitomi spacecraft
by woodman on Sunday May 01, 2016 @01:59AM
(#11605062)
I've tackled some problems that would have ideally, from a performance perspective, been implemented with very deeply nested if()'s. I've found a truth table like layout of bool evaluations to be a nice compromise between maintainability and performance:
A long sequence of ternary operators allow for a prettier layout, but is more error prone.
[ Parent
| on HN ]
There are no comments on this comment yet.