this post was submitted on 29 Jun 2025
9 points (80.0% liked)

DevOps

1889 readers
21 users here now

DevOps integrates and automates the work of software development (Dev) and IT operations (Ops) as a means for improving and shortening the systems development life cycle.

Rules:

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

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
you are viewing a single comment's thread
view the rest of the comments
[–] thesmokingman@programming.dev 6 points 1 day ago (2 children)

There isn’t a universal language to fill all these needs. DevOps covers a ton of areas so you want several tools in your toolbelt instead of just one (granted if you’re an incredibly talented greybeard bash can honestly do everything and do it fairly fast; I’ve never taken this analysis too seriously).

  • bash is something you need for every day tasks and quick tooling to improve everything else in this list
  • POSIX tooling is something you should know well to improve everything else on this list (eg awk is something you’ll use a lot in bash)
  • Python with or without types will handle more advanced scripting in a cleaner and more maintainable way for your team (explaining bashisms slows things down. Does your junior know what : is or why we currently prefer $() over backticks?)
  • Go is something you want to use for containerization and scaling servers
  • Rust is something you want to use for process work and embeddables

Each of these languages meets some of the requirements on your list but not all. That’s because nothing is a silver bullet. Depending on what you’re doing, you might even want to introduce, say, Java or C# in your pipelines if that’s what you’re maintaining. DevOps should support not alienate and overall it needs to be flexible.

[–] BatmanAoD@programming.dev 5 points 1 day ago (1 children)

I think the point of the question is what a hypothetical ideal language for CI/CD pipelines would look like.