• @[email protected]
    link
    fedilink
    English
    64 months ago

    I am of the opinion that production software shouldn’t be written in shell languages. If it’s something which needs to be redistributed, I would write it in python or something

    • @[email protected]
      cake
      link
      fedilink
      44 months ago

      For a bit of glue, a shell script is fine. A start script, some small utility gadget…

      With python, you’re not even sure that the right version is installed unless you ship it with the script.

      • @[email protected]
        link
        fedilink
        English
        34 months ago

        I try to write things to be cross-platform; with node builds, I avoid anything using shell scripting so that we can support Windows builds as well. As such, I usually write the deployment scripts in Node itself, but sometimes python if it’s supported by our particular CI/CD pipeline

    • @[email protected]
      link
      fedilink
      34 months ago

      I tend to write anything for distribution in Rust or something that compiles to a standalone binary. Python does not an easily redistributable application make lol

      • @[email protected]
        link
        fedilink
        English
        2
        edit-2
        4 months ago

        Yeah but then you either need to compile and redistribute binaries for several platforms, or make sure that each target user has rust/cargo installed. Plus some devs don’t trust compiled binaries in something like an npm package

    • @[email protected]
      link
      fedilink
      English
      14 months ago

      On a more serious note, NOTHING with more than a little complexity should be written in shell scripts imo. For that, Python is the best, primarily due to how fast it is to prototype stuff in it.