--- In [email protected], Brett McCoy <idragos...@...> wrote:
>
> On Wed, Feb 11, 2009 at 5:25 PM, Tyler Littlefield <ty...@...> wrote:
> > why do you need to define that anyway? it's not like it's going to
change...
> 
> Um... that's why it's used as a #define -- it's a constant.

I think what Tyler was getting at is that a common reason given for
using macro constants is that if if the value might change in the
future, you only have to change the macro definition in one place
rather than everywhere the value is used.

An example from the code I'm working on is a 'maximum number of users'
constant. Whereas the number of milliseconds in a second is (you would
hope) a 'constant' constant.

Reply via email to