One area I see neglected a lot is code complexity
I was fortunate to have worked for safety critical devices early on and learn some valuable lessons
One of which is code complexity (nested conditions)
When your code goes beyond a certain complexity level it becomes hard to have a deterministic result
More than often, I’ve seen a single area of code made too ccrammed and complex leading to problems all over
Spread out your conditions, instead of going deep vertically, try to go horizontal in your control flow
More on common UI problems causing flakiness:
https://goo.gl/tSGm8A
Leave A Comment