From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: program to compute gears, with table Date: Sat, 23 Sep 2017 08:41:14 +0200 Organization: Aioe.org NNTP Server Message-ID: <861smxc3xx.fsf@zoho.com> References: <86bmmlu54a.fsf@zoho.com> <86pob1rsbx.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1506149133 21562 195.159.176.226 (23 Sep 2017 06:45:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Sep 2017 06:45:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 23 08:45:29 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dveBq-0005Gd-RK for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Sep 2017 08:45:26 +0200 Original-Received: from localhost ([::1]:33914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dveBy-0005Qd-7I for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Sep 2017 02:45:34 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.redatomik.org!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help,rec.bicycles.tech Original-Followup-To: gnu.emacs.help,rec.bicycles.tech Original-Lines: 68 Original-NNTP-Posting-Host: XiPr5pdukK7aCRjr/wfS1Q.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org Mail-Copies-To: never Cancel-Lock: sha1:xcGVvhDDYXs3qb0VHw4Sc4lOqbs= X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:220249 rec.bicycles.tech:1004389 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114355 Archived-At: 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