• @[email protected]
    link
    fedilink
    312 months ago

    CLI is effective because every command serves a specific purpose. UIs are the opposite, you have to imagine all possible intentions the user could have at any given point and then indicate possible actions, intuitively block impossible actions, and recover from pretty much any error.

    • @[email protected]
      link
      fedilink
      72 months ago

      CLI is effective also because of its history (i.e. one can go back, repeat a command as-is or edit it then repeat) but also the composability of its components. If one made a useful command before, it can be combined with another useful command.

      Rinse & repeat and it makes for a very powerful tool.

      • @[email protected]
        link
        fedilink
        5
        edit-2
        2 months ago

        The Unix principle of piping between two or even multiple programs, together with “all data should be in the simplest common format possible” (that is, largely unformatted strings), was a really clever invention to be popularized. As proven by the fact it is still so useful decades later on a myriad of computers unimaginably more powerful than what they had back then.

        It’s not perfect by any means (alternative title: why something like Nushell exists), but it’s pretty good all things considered I dare say.