> -----Original Message-----
> From: Bob Ham [mailto:[EMAIL PROTECTED]]
> 
> On Wed, 2003-02-05 at 00:26, Josh Haberman wrote:
> > On Tue, 2003-02-04 at 13:41, Bob Ham wrote:
> > > On Tue, 2003-02-04 at 20:47, Josh Haberman wrote:
> > > 
> > > > Imagine being able to write to an API as simple and 
> well-designed as
> > > > this: 
> <http://www.portaudio.com/docs/v19-doxydocs/portaudio_8h.html>
> > > 
> > > Just out of interest, why are paNoDevice, paFloat32, etc, defines
> > > instead of const values?
> > 
> > I don't really know.  Isn't that kind of a six/half-dozen detail? 
> 
> Probably.  I think it was Bjarne Stroustrup who said 
> something along the
> lines of "Every use of a define is an instance of a programmer not
> programming correctly."  But I was just wondering if it was some
> portability thing or something.

  I think the basic idea is not to use preprocessor for programming...

        erik

Reply via email to