Qmail
[Top] [All Lists]

Re: Let's start working! (Re: qmail Patch Repository)

To: Qmail mailing list <qmail@list.cr.yp.to>
Subject: Re: Let's start working! (Re: qmail Patch Repository)
From: Russ Nelson <nelson@crynwr.com>
Date: Thu, 15 Mar 2007 17:22:19 -0400
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=dog; d=crynwr.com; b=mczno4PPFcMIp/E2FeQVG/gHONaIOYxD7BR7N+SI3BcEeC+D9ABIOLAl9Rjx+iI7 ;
Domainkey-status: good (test mode)
In-reply-to: <20070308141128.GC26734@nachos.phaseit.com>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <45E59056.50008@cmcflex.com> <20070228151607.GB24361@nachos.phaseit.com> <20070228155340.GA10453@discworld.dyndns.org> <20070228161610.GC16799@c-76-18-79-168.hsd1.nm.comcast.net> <20070228181409.GE24498@nachos.phaseit.com> <17903.12345.67317.524508@desk.crynwr.com> <20070308093225.GA26671@nachos.phaseit.com> <20070308135119.GA2090@discworld.dyndns.org> <20070308141128.GC26734@nachos.phaseit.com>
Fabio Busatto writes:
 > Otherwise, how do you suggest to make various new features
 > available on-demand at compile time?

The exact method is dependent upon the exact code, but most generally,
you provide a library of functions, some of which have the exact same
API, and then you link to one or the other depending on which feature
you want.  Think "object-oriented programming" only done efficiently
at compile-time (or, more properly, link time).

#ifdefs are the bane of a programmer's existance.  A professional
won't use them.

-- 
--my blog is at    http://blog.russnelson.com   | You can do any damn thing
Crynwr sells support for free software  | PGPok | you want, as long as you
521 Pleasant Valley Rd. | +1 315-323-1241       | don't expect somebody else
Potsdam, NY 13676-3213  |     Sheepdog          | to pick up the pieces.

<Prev in Thread] Current Thread [Next in Thread>