• FishFace@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    15 hours ago

    Because you are embarrassing yourself and noone has been kind enough to explain: the difference is that JavaScript will let you do: var x = 1 + "foo" and coerce the types, in python that’s an error.

    Untyped python lets a name refer to different types over its lifetime (dynamic typing) but will not automatically convert types (which would be weak typing)

    • NocturnalMorning@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      9 hours ago

      It was just a joke, chill out. Someone mentioned python so I made a joke about python. I have never used Javascript, and I have no desire too.

      Fucking programmers sometimes…ya’ll take this stuff way too seriously.