• lIlIlIlIlIlIl@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Can someone help me understand this joke? Strongly typed languages generally have way better IDE support so this doesn’t make much sense to me at all

  • shalafi@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Can someone explain the term? I’ve been in IT for 25 years, but haven’t written anything but Powershell.

    • Ashen44@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      When programming, data is stored in variables. In a weakly typed language you define a variable and you can put anything in it. Numbers, text, whatever. In a strongly typed language when you define a variable you also have to define what it can take. If you define a variable that can hold numbers, it can only hold numbers and never text or anything else.

      Weak typing makes code easier to write and more flexible while strong typing makes code more secure and harder to accidentally break. It’s mostly a preference thing in the end.