3 ms·
Does any GUI application follow the Unix philosophy very well? Because the other side of "do one thing and do it well" is that arbitrary tools can be combined,
by ben509 7y ago
Does any GUI application follow the Unix philosophy very well? Because the other side of "do one thing and do it well" is that arbitrary tools can be combined, and that tends to break down once you leave the command line.
Emacs tries to work with the command line; it can run a terminal inside it, or run commands on a buffer with M-|. And emacsclient --eval can run a Elisp from the terminal. But...
> Wanna display text so its easy to interact with Git? Magit. Wanna display text so that its easy to navigate your file system? Dired.
That nicely highlights the way Emacs usually interacts: by wrapping existing tools rather clumsily with a lot of Elisp.
And it's forced to do this because the other Unix philosophy of "everything is a file" has made it very difficult to evolve beyond the command line.
Which is not to say Unix was wrong: the command line is very good at what it does and lots of other schemes following it have crashed and burned because "do one thing and do it well" often conflicts with their more complex notion of "everything is an X".
- saagarjha 7y ago> Does any GUI application follow the Unix philosophy very well? Because the other side of "do one thing and do it well" is that arbitrary tools can be combined, and that tends to break down once you leave the command line. Building scriptable applications works relatively well: see OSA on macOS.
- nine_k 7y agoIt's funny that you should call magit "clumsy", implicitly opposing it to Git's CLI.
- tempguy9999 7y ago> by wrapping existing tools So you propose emacs should write it's own version of everything, instead of using existing functionality? > rather clumsily That's a highly subjective view, if not weasel words. > with a lot of Elisp. How does the amount of lisp even matter so long as it gets the job done well? Anyway, dired's great (in your view where does it fall short - honest question) and while I've never used magit I've heard not a single bad word against it.