all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: mail@justinbogner.com
Cc: emacs-devel@gnu.org
Subject: Re: (featurep 'multi-tty) => t on Windows
Date: Sat, 13 Dec 2008 05:24:43 -0500	[thread overview]
Message-ID: <E1LBRfv-0007I8-5O@fencepost.gnu.org> (raw)
In-Reply-To: <87fxks1uig.fsf@justinbogner.com> (mail@justinbogner.com)

> From: mail@justinbogner.com
> Date: Fri, 12 Dec 2008 23:03:51 -0700
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> >
> > And how exactly is
> >
> >     (if (featurep 'foo)
> >     	(something))
> >
> > cleaner than the latter?
> 
> It's clearer in intention, if nothing else.

Unless "something" includes "foo" as a substring, I don't see how it
is clearer.

> 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).

Yes, that's what Juanma says, I just am not sure I agree.




  reply	other threads:[~2008-12-13 10:24 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03 12:54 (featurep 'multi-tty) => t on Windows Juanma Barranquero
2008-12-03 13:29 ` dhruva
2008-12-10 10:47 ` Juanma Barranquero
2008-12-10 14:00   ` Chong Yidong
2008-12-10 14:05     ` Juanma Barranquero
2008-12-10 16:16       ` Chong Yidong
2008-12-11  9:47         ` Juanma Barranquero
2008-12-11 17:35           ` Chetan Pandya
2008-12-11 23:24             ` Eli Zaretskii
2008-12-11 23:39               ` Juanma Barranquero
2008-12-12 12:01                 ` Eli Zaretskii
2008-12-12 12:14                   ` Juanma Barranquero
2008-12-12 12:54                     ` Eli Zaretskii
2008-12-12 16:23                       ` Juanma Barranquero
2008-12-12 23:27                         ` Eli Zaretskii
2008-12-12 23:50                           ` Juanma Barranquero
2008-12-13  2:43                             ` Eli Zaretskii
2008-12-13  6:03                               ` mail
2008-12-13 10:24                                 ` Eli Zaretskii [this message]
2008-12-13 11:01                                   ` Juanma Barranquero
2008-12-13 16:13                                     ` Stefan Monnier
2008-12-13 16:59                                       ` Juanma Barranquero
2008-12-14  2:42                                         ` Stefan Monnier
2008-12-14  3:11                                           ` Juanma Barranquero
2008-12-13 11:40                             ` Richard M Stallman
2008-12-13 16:58                               ` Juanma Barranquero
2008-12-12  4:38               ` Chetan Pandya
2008-12-12 12:03                 ` Eli Zaretskii
2008-12-11 23:17           ` Eli Zaretskii
2008-12-11 23:35             ` Juanma Barranquero
2008-12-12 11:52               ` Eli Zaretskii
2008-12-12 12:08                 ` Juanma Barranquero

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LBRfv-0007I8-5O@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mail@justinbogner.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.