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