|
Posted by Michael Fesser on 01/10/07 10:33
..oO(jussist@gmail.com)
>Why don't we instead tweak the whole concept of magic numbers? And
>don't use 0 there at all - but something else, 1&2, or.
>
>static $STATE_ALREADY_COMPLETED = 1152; // Or whatever, was -1
>static $STATE_COMPLETE_NOW = 1153; // Or whatever, was 0
define('STATE_ALREADY_COMPLETED', 1152);
define('STATE_COMPLETE_NOW', 1153);
Micha
Navigation:
[Reply to this message]
|