it isn't really about what's fine most of the time.  It's about prevent that bug caused by some developer forgetting that equals does type-conversion, because in most languages == doesn't do that.