4 ms·
It's missing one important part for config files. It's tedious to write by hand.
by Macha 8y ago
It's missing one important part for config files. It's tedious to write by hand.
- titanix2 8y agoXML is not tedious at all with the right tooling. For example a tool like Visual Studio IntelliSense proposes only elements and attributes valid in the context, automatically close tag, format the file and complete opening tags too so it makes editing XML file a breath.
- MrStonedOne 8y agoThe tooling bar for config files is set firmly at notepad.exe If your config file requires more tooling than that you fucked up.
- heavenlyblue 8y agoI mean, with Visual Studio I can even the change the code of the application I am running on the fly, depending on what exactly I am configuring :) That doesn’t make XML an easier format to maintain.
- macspoofing 8y agonotepad is a terrible editor for anything other than simple property files. For example, editing JSON that has any sort of complexity would be just as painful.
- int_19h 8y agoNot really. For quick authoring, configs should have pre-authored snippets for common things, that are commented out, and have adjacent descriptive comments ("Uncomment the following to ...") - this is regardless of their syntax. And for complicated stuff, you're going to spend a lot more time reading the manual than you will actually typing those closing tags. In fact, in most cases you'd be copy/pasting bits from the manual as well.