• GaveUp [she/her]@hexbear.net
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 year ago

    It’s not just the physical typing

    It’s the fact that you can be extremely flexible with data structures and variables

    E.g. you can have a list of strings and ints in Python but not java

    • morrowind@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      This is why union types are great (also sum types are similar I think, never used those)