• @Miaou
    link
    English
    229 days ago

    They wouldn’t be running into an issue, but creating one, that’s different

    • @Sylvartas@lemmy.world
      link
      fedilink
      English
      128 days 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
        link
        English
        328 days ago

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