emacs-devel
[Top][All Lists]
Advanced

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

Re: Why shouldn't we have a #if .... #else .... #endif construct in Emac


From: Richard Stallman
Subject: Re: Why shouldn't we have a #if .... #else .... #endif construct in Emacs Lisp?
Date: Tue, 05 Sep 2023 20:58:46 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > Besides, a feature test is almost always better than a version test,
  > because it actually documents what the tester cares about.

Indeed it is ofter better, but why are you saying that to me?
I did not propose to replace a version test with a feature test,
or vice versa.

I proposed to handle existing version tests more efficiently without
any change in the source code.  Others had proposed (or so it
appeared) to change the syntax of some version tests, to optimize
them, and I suggested we could optimize them better without changing
their syntax at all.

If people propose to change some version tests to feature tests, I'm
not necessarily against that.  It might be a good idea.  But that
seems to be a different question.

If we consider that, we need to look for the best way to handle these
new feature tests.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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