Hacker News new | past | comments | ask | show | jobs | submit login
No, you can't do it better in Python or bash (challenge)
7 points by ilyash 11 days ago | hide | past | favorite | 4 comments
Doing DevOps today? 99% either abuse bash or abuse a general purpose programming language.

bash does not meet any modern expectations from a programming language: syntax, error handling, data structures

General purpose languages such as Python, Ruby, etc are not domain specific enough to have the desired facilities.

Here is small example of straightforward solution to a small problem: list all CloudFormation stacks that are managed by the given CodePipeline.

https://github.com/ngs-lang/nsd/blob/02d66abb844b7dd6077b9976e3a03659cf4b3660/aws/codepipeline/pipeline-stacks.ngs






> Doing DevOps today

What does this mean? You're "doing" workplace culture? You're "doing" the desegregation of developer and operations teams within an organisation?

> Here is small example of straightforward solution to a small problem: list all CloudFormation stacks that are managed by the given CodePipeline.

Ok, but what if I'm using Azure, GCP, Heroku etc?


> > Doing DevOps today

> What does this mean?

Unfortunately there was never a good name for what we do. I'm using DevOps term not in the original meaning but (abuse it) in the sense that many (most?) would understand. DevOps here means what is also named: system, system administration, systems engineering, operations, cloud ops (wtf?), SRE, etc. The best and the most precise phrasing I came up so far: everything between "it works on my machine" of a developer and the real world.

> Ok, but what if I'm using Azure, GCP, Heroku etc?

The script is solving specific problem that we had. NGS does not provide (and not planning to provide) any library that would abstract over different clouds.

If anyone is interested, they can write their own scripts to solve the problems they have and I can help if needed.


You are going strong on the marketing.

If it was honest comment - thanks!

If it was trolling - wanna talk about Kubernetes?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: