From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Re: program to compute gears, with table
Date: Sat, 23 Sep 2017 08:41:14 +0200 [thread overview]
Message-ID: <861smxc3xx.fsf@zoho.com> (raw)
In-Reply-To: oq4s8d$jpm$1@dont-email.me
DougC wrote:
> I have not written nor used a CLI program in
> many years. I'd rather do it in a GUI (Visual
> Basic) just for the copy & paste ability that
> comes along for free.
You can copy and paste, or "kill and yank" as
it is called in the Emacs world, writing CLI
programs as well. But actually it is a bad
habit. The same code shouldn't appear twice.
Instead, it should be "factored out" as it is
called, i.e. put into a neat little function of
its own, and then be invoked, the same
function, from anywhere where it is needed.
> PCs are so big and fast now that there's
> little point in worrying about saving a few
> kilobytes--or even, a few hundreds
> of kilobytes.
CLI programming is not because the programs are
smaller on the disk. Which they are, of course.
It is about other things - speed, creativity,
and the simple fact that some people don't like
clicking on icons with a mouse and pointer, or
searching in endless menus for what the want to
do. They like typing and text and combining
tools to do whatever. This way, one can just
use the computer at a whole other level.
Also, the GUIs are not esthetically appealing
to these people - when you understand what goes
on behind it, just looking at it can be an
unpleasant thing. Text on the other hand is the
truth, there is nothing manipulative to it.
The real deal.
> And arguing that a CLI is somehow "better"
> than a GUI is like arguing that a well and an
> outhouse are somehow "better" than
> indoor plumbing.
CLIs, or text interfaces in general, are
better, faster, more reliable in almost every
case, the exception being applications that are
graphical in nature, e.g. GIS, scientific
visualization programs, and such.
However, not all applications which to some
extent are graphical needs a GUI - examples
here are LaTeX and gnuplot, where very
good-looking documents, charts, and diagrams
can be produced straight from a text buffer.
> Also I have written programs in the past and
> not included any help files, and then
> forgotten how to use them. With the VB
> programs, I put in a few help buttons +
> message boxes that explain how to use the
> thing, so the help can't ever get separated
> from the program it goes with...
No comments :)
--
underground experts united
http://user.it.uu.se/~embe8573
next prev parent reply other threads:[~2017-09-23 6:41 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-08 5:33 program to compute gears, with table Emanuel Berg
2017-09-08 8:46 ` Graham
2017-09-08 15:50 ` Frank Krygowski
2017-09-08 21:56 ` Emanuel Berg
2017-09-08 17:44 ` Emanuel Berg
2017-09-08 11:09 ` Skip Montanaro
2017-09-08 11:27 ` tomas
2017-09-08 12:12 ` Skip Montanaro
2017-09-08 17:09 ` David Scheidt
2017-09-08 23:45 ` Emanuel Berg
[not found] ` <mailman.158.1504868984.14750.help-gnu-emacs@gnu.org>
2017-09-08 17:52 ` Emanuel Berg
2017-09-08 19:56 ` Joerg
2017-09-08 19:59 ` David Scheidt
2017-09-08 23:55 ` Emanuel Berg
2017-09-09 19:17 ` Joerg
2017-09-09 19:46 ` Emanuel Berg
2017-09-10 2:06 ` David Scheidt
2017-09-10 14:59 ` Joerg
2017-09-23 5:42 ` DougC
2017-09-23 6:41 ` Emanuel Berg [this message]
2017-09-24 1:05 ` Joy Beeson
2017-09-11 5:02 ` Tosspot
2017-09-11 5:19 ` Emanuel Berg
2017-09-08 23:51 ` Emanuel Berg
2017-09-09 21:08 ` Tomas Nordin
2017-09-14 12:24 ` Stefan Monnier
2017-09-14 19:33 ` Tomas Nordin
2017-09-14 20:51 ` Emanuel Berg
2017-09-14 23:49 ` Nick Helm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861smxc3xx.fsf@zoho.com \
--to=moasen@zoho.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).