V3: [ALL] Ask a question: concept naming

Created on 29 Feb 2020  路  2Comments  路  Source: exercism/v3

Can we standardize on _one_ character set for the various "*.md" files in references, docs, etc?

The reference/concepts/prototype_based-programming.md file uses both underscores and a hyphen (and the hyphen doesn't even make sense). But we've also got reference/tooling/dotnet-assemblies.md and all the languages/[LANG]/reference/implementing-a-concept-exercise.md files, but most everything else is underscores.

Exercise slugs are standardized to hyphens, which I get because they're processed by other processes, but I'm having a hell of a time with large-scale reorganization of concepts due to mismatches on punctuation in paths.

If a standard exists I don't see it here.

statuhelp-wanted

Most helpful comment

Yeah ... I noticed by a different route (finding just the unique filenames, to avoid _lots_ of duplicates of the same template file) that there's currently 56 unique filenames with a dash and 61 with an underscore ... thankfully there's just 1 with _both_.

I don't care which we go with, but mixing them is going to be a long-term (or long_term) PITA.

All 2 comments

Great idea!
I've used fd to quickly analyze the different counts:
| kind | count |
|----------|:-------------:|
|dashes | 98 (fd '.*-.*.md') |
| underscores | 97 (fd '.*_.*.md') |

You'd need to pipe fd to wc or something else to get the count:

fd '.*-.*.md' | wc -l

Yeah ... I noticed by a different route (finding just the unique filenames, to avoid _lots_ of duplicates of the same template file) that there's currently 56 unique filenames with a dash and 61 with an underscore ... thankfully there's just 1 with _both_.

I don't care which we go with, but mixing them is going to be a long-term (or long_term) PITA.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sshine picture sshine  路  6Comments

efx picture efx  路  3Comments

tehsphinx picture tehsphinx  路  4Comments

tehsphinx picture tehsphinx  路  4Comments

tehsphinx picture tehsphinx  路  5Comments