• JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    Yeah, I guess that’s true. I suppose given more time to think about it I wouldn’t really complain about that. It’s mostly things like script in out that are sort of annoying versus something like script --in foo --out bar.

    • kunaltyagi@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      5 hours ago

      I believe API (CLI or programmatic) should never have 2 arguments of the same type but different roles next to each other without visual cues.

      No fn("in.txt", "out.txt") and no script in out