in reply to Evan Prodromou

As an IT administrator, I've found that the best-designed software has a language with objects and verbs. The language may be surfaced in a CLI and/or and API. I'm sure the code underneath follows this design.

The GUIs for these apps are layered on top of this and provide easy access to more complex actions with lots of options, the one case where a GUI is superior to a CLI.

in reply to Evan Prodromou

ok, more detail: I like CLI for system administration tasks, other than that I generally prefer GUI. But if the app is very simple then CLI is fine. For example, a file converter. I struggle to remember all the flags for CLI apps and looking them up can be annoying. Also, people who brag about using CLI apps in an elitist way annoy the shit out of me. I often prefer to use tools that are more accessible to nontechnical people so I can empathize with them more as a UX designer, tech support person and web developer.
in reply to Evan Prodromou

No, but

- CLI tools are scriptable by design, and sometimes you need that. So that counts as “better” sometimes.
- Most CLI tools could have a GUI built around the core library (you DID build a library at the core, right? Text is not an API contract…)
- CLIs are the wrong tool for many things. Like most git operations on non trivial repos, where a GUI dramatically reduces the incidence of all sorts of errors.

in reply to Evan Prodromou

I answered "No, but..." and I understand why people like them and I'm sure people answering yes have different goals from me. I'm a sophisticated end user not a coder. When I hit a wall with the Wordpress GUI, the support team often tries to get me to use the CLI to resolve it, but they also want me to sort of *learn the CLI* first. I want to solve my Wordpress problem so I can do my task, not learn a new thing in an environment that I am almost never in unless it's the only option.
in reply to Evan Prodromou

“No, but …” because neither are better in general than the other.

Here’s an example that I find amusing. Learned to use FreeCAD proficiently. An extremely complex gui app. I hate videos for learning — super useful for an app like FreeCAD.

Model got so complex that I ended up writing a complex FreeCAD macro in Python to generate the model in all its variations. FreeCAD CLI was quite helpful in this process.

Many sizes, fixtures not pictured here: ruby.social/@stepheneb/1109138…

in reply to Evan Prodromou

No, but.. it's also 50% of a computer's potential. So why pick? Both are important.

If I want this .doc, and this .xls, and these three .jpgs, and these two folders? Nothing beats mouse clicks in a GUI

If I want every .doc, every .xls, and every .jpg that starts with "P" and has 3 numbers in the name, across 3 folders? Nothing beats a command line.

BOTH SIDES, SAME COMPUTER.

`US$0.02++`

This entry was edited (7 hours ago)

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.