• thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    7 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@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      6 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.