YUART

joined 4 weeks ago
[–] YUART@feddit.org 1 points 1 week ago (4 children)

Sometimes you need to execute some logic in a pipeline step, like rename a file or push JSON somewhere.

[–] YUART@feddit.org 2 points 1 week ago

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.

 

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