• grrgyle@slrpnk.net
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    6 months ago

    I came from a cpp background and loved it the moment I saw it. Like, you mean I just go var foo = ... and then I can put anything? No type casting?? No types??? Finally, I was free.

    But I’ve always been more of a hacker than a real programmer. I’ve since learned that there are advantages to using types, static checking, etc…

    • kingthrillgore@lemmy.ml
      link
      fedilink
      arrow-up
      15
      arrow-down
      1
      ·
      6 months ago

      Don’t ever come to me saying “finally I am free from types” very few things make me angry. Rejecting types is one of them.

      Also its let foo and const foo depending on how you plan to use the variable…

      • jjjalljs@ttrpg.network
        link
        fedilink
        arrow-up
        5
        ·
        6 months ago

        I mostly work in Python, but we use types at work. For a hack day project I skipped typing stuff for like an hour, and then went “wait this sucks” and added types. It was easier overall.