Hacker News new | ask | show | jobs
by hdjrudni 16 days ago
I did that too but not for the sake of the LLM, just for myself. Massively helps discoverability. It also protects from backwards-compat if you ever want to change a default without breaking existing users, knowing that whatever they had before has already been saved into their settings so some setting doesn't randomly change on them.
1 comments

That was also my reasoning. I'm a fan for abstraction and nesting for DRY reasons but always find it mentally taxing to dive in and out of "functions". So while the code is organized this way to create the settings, they can be read flat all at once. Want to reset the value to the default but forgot what it was? Delete the entry and it'll reset on boot.