No offence

  • Hazzia@discuss.tchncs.de
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    I’ve only used python as a bash alternative for scripting, even though I’ve heard it’s capable of more. Can you explain what makes it bad for larger/frontend projects?

    • jflorez@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Before 3.9 the lack of type hints made it a nightmare for large projects. Strong typing is, among other benefits, a way of self documentation and helps IDEs with auto-complete. If I use Python I always use type hints and if I have to use JS sigo with Typescript instead

      • pazukaza@lemmy.ml
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        Python without type hints is torture. I always need to have the fucking docs opened for anything, and if the docs are bad you’re screwed, get ready to read the source code. Like fucking hell man, just let me autocomplete this shit…