• @Sylvartas@lemmy.world
    link
    fedilink
    English
    110 months ago

    Meh. Imo anyone comparing an integer to a float and not expecting one of them to be implicitly casted to the other’s type will create that issue for themselves when doing the same thing with an explicit cast.

    • @Miaou@jlai.lu
      link
      fedilink
      English
      310 months ago

      What I meant is, the former can be a genuine mistake, the latter is a conscious (probably uneducated) decision