News for hackers. Stuff that matters.
Re:Configuration files are user interfaces by taeric on Thursday September 18, 2025 @05:26PM (#45295199)
Meanwhile, I peek at my emacs config and continue to wonder why people don't just embrace a programming language.

Yes, there are bad consequences that can happen. No, you don't dodge having problems by picking a different data format. You just pick different problems. And take away tools from the users to deal with them.

Re:Configuration files are user interfaces by wsc981 on Thursday September 18, 2025 @08:23PM (#45296607)
Just something like an INI file might be fine for most use-cases as well and is easier to reason about.
Re:Configuration files are user interfaces by slowmovintarget on Thursday September 18, 2025 @10:38PM (#45297389)
Elisp for Emacs, Lua for those on Neovim...

Definitely more control than guessing the right JSON, or breaking that YAML file. Plus, you get completion, introspection, and help while editing the config because you're in a code-writing environment. Bonus for having search and text manipulation tools under your fingertips instead of clicking checkboxes or tabbing through forms.

Re:Configuration files are user interfaces by taeric on Friday September 19, 2025 @10:30AM (#45302083)
Reading this does make me think about how exploring settings in emacs `M-x config` settings is actually better than I would expect. So it isn't like you can't also have the checkboxes and forms.