Is a command line interface better than a GUI?
-
@evan
Most of the time, no. But when you need it, the CLI is essential. -
@evan not inherently, no. But there are situations where it's the better tool for the job.
-
@evan The more interesting question: is there a lossless conversion back and forth between a grammar and a GUI toolkit?
-
@evan Each is better suited to some tasks than the other. You can do CAD with a command line but anything that visual is usually easier with a good GUI.
Likewise, tasks that are suitable for scripting are usually better done with a command line.
The best systems mix them, using each where it is more suitable and have done for more than 50 years.
-
@evan Depends on the task, as others have said. But as a general matter, the CLI is more powerful. Yes, but.
(I run Emacs both in GUI and terminal mode.)
-
@evan It depends on the task. I.e. no, it isn't better. Cold hard logic. Bam. Boom. Kablooie.
-
@evan 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.
-
@evan "There is yet insufficient data for a meaningful answer."
-
@evan No, neither is generally better than the other. They are both suited to different applications.
-
@evan Is an apple better than an orange? Well, do you want to make an apple pie or orange juice?
-
Horses for courses
-
@evan @heliomass Yes, but less convenient
-
@evan hard to say... depends on the person and task. IMO a CLI is far more versatile and powerful than a GUI for someone who knows the tool(s) being used, but a GUI can make its use possible in the first place by a non-techie. Also, a GUI can offer all kinds of visual data like charts, etc. I use both at different times. I said "yes, but...".
@jamesmarshall I ask hard questions!
-
@evan The more interesting question: is there a lossless conversion back and forth between a grammar and a GUI toolkit?
@kzurell hard disagree, my question is more interesting
-
@evan Is an apple better than an orange? Well, do you want to make an apple pie or orange juice?
@machinaecrire also apples are better than oranges
-
@evan "There is yet insufficient data for a meaningful answer."
@pauamma don't die wondering
-
Horses for courses
@gwhilts what
-
@evan No, neither is generally better than the other. They are both suited to different applications.
@earth_walker boooooooooooooooo
-
@evan@cosocial.ca No, not in general. But it highly depends on what the application does.
is a keyboard and mouse better than a touchscreen?
for a text editor, yeah! but for a drawing application, I'd rather take the touch screen (or a pen).
for like, a wifi menu? it shouldn't really matter. both work just as well and it's mostly a personal preference.
for a first person shooter? you could argue either way, but don't forget that lots of folks love joypads/controllers.
for a text editor, i'd much rather have a GUI than a CLI (likeed). but a lot of people prefer a TUI (likenano).
for file management, it doesn't really matter. most people know how to use a GUI, lots of them even have a lot of shortcuts and tricks. but nothing beats the inline scripting of a CLI for flexibility (and again, some people swear by a TUI, likeranger).
for a patchbay graph (likecrosspipe), I feel like a GUI is infinitely better than a CLI. you could implement the same operations in CLI, but it would not be the same category of application.
for something like ffmpeg? it has a bazillion switches that would be incredibly overwhelming to present in a WYSIWYG-GUI style. it's difficult to make it anything but a CLI. arguably, the CLI sucks too, but at least you can copy paste magic incantations instead of needing to follow a tutorial with twelve screenshots on exactly where to click. -
@machinaecrire also apples are better than oranges
@evan Ha ha. I should have added
at the end of my reply. Didn't want to sound arrogant.