Is it really an anti-pattern when you&#x27;re just writing code that depends on equality without understanding how equality works?<p>There&#x27;s probably a lesson to be learned in here, but if I wrote an article every time I wrote bad code, I wouldn&#x27;t have time to write any bad code ;)<p>Edit: This particular issue is pretty common, and it&#x27;s good to draw attention to it, but let&#x27;s just call it what it is - a common bug.