3 ms·
>It's 50 nested ifs, isn't it. which can be complex ... algorithm, can't it?
by tester34 6y ago
>It's 50 nested ifs, isn't it.
which can be complex ... algorithm, can't it?
- the_af 6y agoYes, in fact many static code analyzers and metrics will flag a piece of code as too complex if it has too many nested ifs. But it does sound a lot less glamorous, doesn't it?
- tester34 6y agofor marketers? maybe for me? if it works, then it's great - especially here, where it saved people's life & expensive af aircraft
- mikestew 6y agoWell, “it works” in your desktop testing. That doesn’t mean it works. How do you test the permutations of 50 nested if statements such that you know “it works”? Whoops, there’s a bug reported from the field. Have fun debugging that corner case. Or IOW, why do you think the static analyser flagged it in the first place?
- akiselev 6y agoIt doesn't matter if it's 50 nested ifs or not if we're talking about a recent generation jet fighter - it's going to be hell to test no matter what. Even with provable control systems you're still at the mercy of cutting edge technology and the whole point of the jet is superiority over a yet unknown adversary with high tech capabilities so the system has be overengineered with that in mind.
- fma 6y agoI have a very rudimentary knowledge of ML. But decision trees basically is if else statements, isn't it? The "ML" part is coming up with the tree.
- Nition 6y agoDecision trees are old news. The new hotness is Utility AI. Super advanced. It's still just if statements, but they're weighted.