– +eps when comparing real numbers, even when you’re completely confident that the quantities should be equal. Without this, codes run on one computer does not necessarily run on another.

– Notice the edge cases: >= vs. >

– Ensure that commands at the end of each loop is still called even if break/continue is called.

Advertisements