• thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    The dash - vs underscore _ is also a common “problem” with CLI arguments --file-name, that are mapped to variable names file_name.

    • esa
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      Yeah, translating between cases isn’t exactly a problem IME. Might be neat to have a case-aware grep though, so you can get kebab-case, snake_case, camelCase and PascalCase all done in one go.