help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Too fine design granularity leads to numerous macro/function/command


From: Arthur Miller
Subject: Re: Too fine design granularity leads to numerous macro/function/command existed in Emacs.
Date: Fri, 13 Aug 2021 22:47:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Arthur Miller wrote:
>
>> learn relatively recently, say one year ago, but I find lisp
>> much faster to code than shell. That what you coded there
>> requires knowledge of zshell, awk, sort and tail.
>
> They are just basic building blocks the basic usage of which
> is known to everyone, it is like building Lego or something,
> meanwhile the below code requires both some general
> programming fluency AND some inside knowledge how the
> particulars work in Lisp and even Emacs/Elisp.

You don't believe that programming shell script requires at least some
programming fluency AND some inside knowledge hot the particular tools
works, their options, streams etc? It just comes out of itself? :)

> Everyone that writes it can also combine a bunch of shell
> tools, but everyone who can combine a bunch of shell tools
> can't write that - many of them can't program at
> all, actually.

I don't think I or anyone else claimed that "everyone who writes it"
(it = shellscripts?) writes Elisp. That isn't the point. By the way, you
do realize that we write this in context of Emacs and Elisp and not some
random unix tooling context?

Yes, unix command line tools and piping are like lego blocks, that
was by design, it does not mean that *everyone* can write shell
scripts. Everyone *can learn* to write shell scripts, but not everyone
can write shellscripts. I hope you realize the difference. And that
hypothetical *everyone* can also learn how to write elisp if they choose
so. By the way you know what is also like lego blocks? Lisp functions :). 

Anyway I would even say that majority of computer users working in
offices at hospitals, schools, municipals and other places, have never
even seen a *nix system nor ever heard about zshell, tr, find, sort,
grep or elisp. Saying that unix shell tools are easy for everyone
would be like living in a dream world :). Shell scripts are easy for a
certain audience just like lisp or elisp are easy for a certain audience
too.

Some people simply find writing lisp easier than writing shell scirpts,
checkout gnu guix, don't take just my opinion. 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]