Comment by grim_io

Comment by grim_io 16 hours ago

2 replies

I may be an unreasonable outlier, but I absolutely refuse to learn a complex config language.

YAML/TOML? These are the maximum of punishment I'm willing to deal with, as they are quite universal and useful in many situations.

If you need a complex touring complete config, you better use a reasonably popular general purpose language, or I'm not touching it.

MangoToupe 15 hours ago

> you better use a reasonably popular general purpose language

Most languages are horrible at templating, so that's its own world of pain.

  • grim_io 15 hours ago

    What kind of templating are we talking about? HTML or in general?

    If we take python, for example, you could use jinja for HTML and composition/inheritance for the general stuff.

    That's all django does, and it does it well. I don't see what nix is doing so much better.

    Prefer JS/TS? You can have JSX, which is superior in any way compared to this nix-based abomination.