• thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    24 hours 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
      ·
      5 hours 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.