Programmers never compare two vars with ==. Comparing them with > or < is ok.

https://manual.zorro-project.com/comparisions.htm