Is a command line interface better than a GUI?
-
@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. -
@evan Ha ha. I should have added
at the end of my reply. Didn't want to sound arrogant.@machinaecrire lol, ofc, thanks for replying
-
@gwhilts what
@gwhilts ohhhhhhh
-
@evan If you need to build up a complex structure or even some sort of selective batch operation (eg, ripping a DVD you own), it's a lot easier to do these things interactively via a GUI than on a command line.
-
@evan @heliomass Yes, but less convenient
@EdwinG @heliomass @evan Depends on your definition of convenient. With a GUI, I actually have to go over to my computer rather than SSHing in from whatever device I happen to have on hand. -
@evan If you need to build up a complex structure or even some sort of selective batch operation (eg, ripping a DVD you own), it's a lot easier to do these things interactively via a GUI than on a command line.