• thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    0
    ·
    2 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
      0
      ·
      1 day 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.