emacs-devel
[Top][All Lists]
Advanced

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

Re: (featurep 'multi-tty) => t on Windows


From: mail
Subject: Re: (featurep 'multi-tty) => t on Windows
Date: Fri, 12 Dec 2008 23:03:51 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Eli Zaretskii <address@hidden> writes:
>
> And how exactly is
>
>     (if (featurep 'foo)
>       (something))
>
> cleaner than the latter?

It's clearer in intention, if nothing else. If I understand correctly,
Juanma considers checking for the existence of a feature to be a cleaner
way of writing feature specific code than checking for some function
that may be an indication that such a feature might exist. The two
approaches are equal in lines of code, but checking for a function so
that ou may execute code that has nothing to do with that function is
uglier (though equivalently effective).

-- 
Just because you're paranoid doesn't mean they AREN'T after you.





reply via email to

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