Hacker News new | ask | show | jobs
by ZYbCRq22HbJ2y7 262 days ago
You could make a builder to do this for you. It could build your actions in a pre-commit hook or whatever.

Although, I think it is generally an accepted practice to use declarative configuration over imperative configuration? In part, maybe what the article is getting at, maybe?

1 comments

YAML is neither declarative nor imperative. It's just a tree (or graph, with references) serialization to text.
I didn't say anything about YAML? Also, I think the term "declarative configuration" has drifted to mean different things over time depending on where it is used.