• Wats0ns@sh.itjust.worksOP
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    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”

    • jdeath
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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