4 ms·
Use the right tool for the job. I use yaml extensively but never in a situation where someone would want to edit it with a regular text processor.
by KaoruAoiShiho 7y ago
Use the right tool for the job. I use yaml extensively but never in a situation where someone would want to edit it with a regular text processor.
- beders 7y agodo you deliver a YAML editor with your software? Because people will use notepad or nano to edit that stuff.
- KaoruAoiShiho 7y agoSort of, I deliver a GUI that exports into YAML for pretty much only reading, portability, and version control. People are expected to do the editing in the GUI, only using YAML for editing when doing complex regex operations that my GUI doesn't support.
- twic 7y agoIf people aren't editing it by hand, why does the format matter? Why not just use JSON? Tools for too-complex-for-the-GUI manipulations are at least as good for JSON as they are for YAML, and the editing is less error-prone.
- KaoruAoiShiho 7y agoInternally it is JSON. It exports as YAML for readability when sharing on discord.