Replace with .lengthCompare warning : <p>IntelliJ keep suggesting to replace <code>.length == X</code> with <code>.lengthCompare(X) == 0</code>. Why is that better? Don't quite get it, since the suggested changes are more verbose. </p>

<p><a href="https://i.stack.imgur.com/I6h7N.png" rel="noreferrer"><img src="https://i.stack.imgur.com/I6h7N.png" alt="enter image description here"></a></p>
