in reply to Maintainable code is the best code Part II
My answer to that question would be, "Unless forced by external circumstances, I wouldn't." Numerical codes are inherently less maintainable to program with than string descriptions. For a type code, perhaps string descriptions which go through a function that catches any typos.
And, of course, if I don't have numerical codes floating around, I no longer need to think about the most maintainable way to write the conversion code...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (tilly) 1: Maintainable code is the best code Part II
by dragonchild (Archbishop) on Oct 04, 2001 at 18:43 UTC |