• @[email protected]OP
    link
    fedilink
    16
    edit-2
    1 year ago

    So that next time your coworker uses the wrong type, the compiler can scream at him: “NO I WONT COMPILE THIS YOU DUMBASS, LOOK JOHN SAID ON LINE 863 THAT IT SHOULD BE A DOUBLE, NOT A FLOAT FOR FUCK SAKE”

      • @mark
        link
        01 year ago

        As a JS dev, I can only wish we had those types 🥲

    • @[email protected]
      link
      fedilink
      11 year ago

      you can still have that without having to declare the type manually. check out Swift or OCaml for example