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

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

Re: Making Menu Bar with an About Buffer


From: Emanuel Berg
Subject: Re: Making Menu Bar with an About Buffer
Date: Mon, 24 Oct 2022 04:54:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Dr Rainer Woitok wrote:

>>>    (cond ((string= what "about:hyperscope") (hyperscope-text-view "
>>>      ===================================================
>>>      Hyperscope - Dynamic Knowledge Repository for Emacs
>>>      ===================================================
>>>                            about:emacs
>>>                            about:emacs-fancy
>>>                            about:hyperscope
>>> "))
>> 
>> What, it looks like that in the source?
>> 
>> That could be automated with variables and not hardcoded ...
>
> Don't you think its better to use electrons ONCE when this
> string is de- signed rather than EVERYTIME when someone is
> looking at it?

Nope, because that also means instead of doing it once and
forever getting it right everytime someone does it we will
have the same (poor) situation ...

And, if you are concerned for the electrons, a program can
store the result in a variable once just as well as any human
can storing it in hard-coded code (actually better, because
then checks can be made the input makes sense).

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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