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

DevOps

1889 readers
11 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
[–] rglullis@communick.news 4 points 1 day ago (3 children)

like rename a file or push JSON somewhere.

Both of these can be done in a declarative fashion.

Yeah, yaml sucks. But we don't need to throw the baby with the bathwater. You can have tools based in declarative systems that use saner languages, e.g, nix or TCL, and never have to deal with yaml issues.

[–] BatmanAoD@programming.dev 2 points 1 day ago* (last edited 1 day ago) (2 children)

The post doesn't say "imperative", it just differentiates between defining pipeline steps and defining the logic within a step.

...also, TCL? I haven't used it for ops, but my memory of tcl/tk is extremely negative.

...also also: a core part of a build, CI, or, CD pipeline is almost always invoking binaries to run a command. That's why shell scripts are so ubiquitous in pipeline-logic: invoking binaries is what they're for. And it's very difficult to do that a declarative way: Make comes close, but it's difficult to track any side-effects that aren't "update these files", and a huge amount of CI/CD is no longer just "update a file".

[–] rglullis@communick.news 4 points 1 day ago (1 children)
[–] BatmanAoD@programming.dev 1 points 1 day ago

Oh, that makes much more sense; thanks.