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

    The advantage of yaml is idempotency, so you really should be using generators to produce outputs that you then check in. This gives you a state repo, which when tools feed from to produce a final state, you always have the same result.

    Check out CDK for an example.