Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use ini files for my Windows application [1]. They are enough if you don't need multiple levels of nesting. The simpler the format is, the better.

When storing settings in config files, you can just copy the program folder to another computer and your settings will be transferred. This is called "a portable application" in the Windows world. When using the registry, you need to export the registry keys and import them, which makes it hard to backup all your apps with their settings or to set up multiple computers to use the same apps with the same settings.

[1] https://www.abareplace.com/docs/options.php#optionsStorage



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: