in reply to Comparing Dates With a Twist
Positional logic like that is notoriously hard to maintain and debug. (Quick! What is field 14? Which program were you looking at again? What if someone's output is off by one column? What if the spec changes?) If you can, you will save yourself a lot of pain by switching to name based logic, eg by using hashes instead of arrays. True, there is some overhead to doing that, but my experience is that the overhead nothing compared to the savings in development effort.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (tilly) 1: Comparing Dates With a Twist
by suggus (Sexton) on Nov 01, 2001 at 23:10 UTC |