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
  • mumblerfish@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 days ago

    Most things I’d say is bash, easy just to write a simple task in it. If you have to use some more logic I use python. But python is far from great for it. It is easy for me to run a venv and test the stuff. But “this script should do a cron thing”, “this is an filter for ansible”, “this performs a job here or there”, managing a uniform consistent env for all of it is a mess. Bjt yeah, if it is just pipeline logic, ok that env can be managed.