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
I use terraform, helm, a bit of ansible and gitlab/forgejo (for cicd). The minimum amount of scripting I do is shell, I don’t have a need for more…
Back in the days of manual deployments and semi-automated configurations, I did use bash.
What is your need for complex scripting/programming?
I mainly do things for Jenkins so I mainly code in Groovy. Most complex things I need to do is to manipulate some JSON, files, or strings. Send some messages to Slack, or push some data to DB.