Ask HN: How do you build settings menus in your app?
2 michaelfromsyd 2 7/6/2025, 3:06:53 PM
Does anyone else find building settings menus tedious? Whatever I'm building, it always feels like I need one.
Does anyone use any tools or patterns to manage settings efficiently?
I don't know what you're programming in but you should have some table in your app that has
It is possible that the getters and setters are closures, or object references, method references, or a path of some kind (like the name of something in an .ini file or "property1.subproperty5") depending on the facilities used in your language. It's not crazy to keep settings in something like a sqlite database. Similarly the UI control could be specified by name or you could have a function that creates it.Planning to share it soon — mostly just trying to get a sense of what others are using and if this would be helpful. Appreciate the reply!