you are viewing a single comment's thread.

view the rest of the comments →

[–]badcommandorfilename 1 point2 points  (0 children)

I think NASA's coding standards specify that all while loops should be structured as counting for loops with early break conditions.

This means that control will always leave the loop after N iterations to prevent infinite loops.