Hacker News new | ask | show | jobs
by mooreed 1264 days ago
At the risk of sounding clichè/unhelpful.

> “you can solve every problem by adding or removing an abstraction layer”

Have you considered generating your YAML/JSON config with something that composes?

If you are open to it you might be interested in dhall [1] as it’s a config language with variables, functions and imports.

I have used it for pet projects and I could see how it could offer some tidy encapsulation patterns for larger, more complicated production applications.

[1]: https://dhall-lang.org/

1 comments

Cliché is spelled with é, rather than è, which makes the word sound more like cleesh, not cleeshay.
Actually, the French spelling and pronunciation is cliché [kliché] (accent aigu, abrupt stop), but the English pronunciation is better achieved with è [klishay] (accent grave, extended).

Note that there are no words in French that end with è.

This is when I feel the need to interject and recommend the "macron" (nothing to do with the president of the same name!) [1]

[1] https://fr.wikipedia.org/wiki/Macron_(diacritique)

This is the first rule of French: there is at least one exception to every rule.

And this probably includes the first rule itself.

I'd say it's not really a French word but a transliteration of the Ancient Greek word ἡ κοινὴ
#til