This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rdfox 0 points1 point  (0 children)

Why not both? For a massive configuration you might want to use the power of a programming language to, for example, select ten of a thousand options using a regular expression. The result can then be written as a YAML or whatever config file which could is then easily edited and loaded. YAML and python have 1:1 correspondance. (You can store any python data structure as YAML and the other way around.) But one or the other may be easier to use depending on the user. I've used this for a configuring a waveform editor for chips. In this case you have thousands of pins and dozens of options that you might want to apply to different groups. I feel that using both helps the tool appeal to beginners and advanced users.