Pular para o conteúdo principal

Identical expressions should not be used on both sides of an operator

Using the same value on either side of an operator is almost always a mistake. It can be either a copy/paste error and therefore a bug, or it is simply wasted code, and should be simplified.

Noncompliant Code Example

if a = a then ...