3 ms·
it also simplifies the search for the flag in the source code. Rather than having to switch between `-` and `_`, you have only one textual representation for th
by drjasonharrison 4y ago
it also simplifies the search for the flag in the source code. Rather than having to switch between `-` and `_`, you have only one textual representation for the flag.
I personally like to use `-` in filenames and flag names because it's one less shift key to press. But it leads to the requirement to translate the `-` into `_` in the code. Eg, `resource-filename.json` becomes something like `resource_filename` in the code.