It helps to debug typo mistakes (language independent). If you was doing a regular compare '==' but used '=' instead, then 'wait = -1' will assign -1 to wait which could cause run time problems later on. However, if you do '-1 = wait' the compiler will throw a syntax error because you are trying change a constant.