• Wats0nsOP
    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”

    • jflorez
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Tell me you are a Java dev without telling me you are a a Java dev 😂

    • jdeath@lemm.ee
      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