Hi DevOps, how do you think your ideal programming language would look like? I mean a language in which you would write pipeline logic, like Python or Bash, not define pipeline steps itself, like YAML.

I think for me it would have:

  • very clean and readable syntax
  • immutable state by default
  • strong typing
  • strong tooling and IDE support
  • focus on DevOps-need things, like JSON and files manipulation
  • absence of danger things like pointers
  • EarMaster@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    Most of them are bash scripts as they usually don’t need any specific tools installed and run out of the box. When it gets more complicated (especially if there are lots of asynchronous and parallel tasks) I go to Node.js / Typescript. This is maybe a little bit of an oddball, but there are plenty of tools to create CLI binaries that can run independently and working asynchronously is really easy. I like the language a lot more than I like Python – I haven’t tried Go yet.