Comment

Comment by supriyo-biswas

I love the concept of a language like this, though I haven't evaluated amber in detail.

I want to do more complex things using bash for devops stuff, because it's mostly working with other command line tools. You could directly use APIs and SDKs of cloud providers, but then things become an order of magnitude more complex than just writing the bash script.

However, when you do that you encounter bash's weaknesses, like not supporting a nested structure like Map<String, Map<String, Int>> and so on. Having to wrangle tools like jq, sed and awk all together to work around the lack of proper data structures and string manipulation is no fun either.

Something like amber could bridge the gap while still being portable across systems.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton