9 Nov
2005
9 Nov
'05
5:14 a.m.
On Wed, 2005-11-09 at 00:47 +0000, Richard Hughes wrote:
I wanted to keep the two code paths next to each other as much as possible so that it's easy to change one when the other changes.
Are there forces preventing you from factoring out the common bits of the two codepaths into a common codepath? It sounds as if there is quite a lot of redundancy which would lend itself to factoring.
Incidentally, Mental will blow his top when he sees how many #ifdefs are used,
Edsger Dijkstra once wrote, "Years from now, if you are doing something quick and dirty, you imagine that I am looking over your shoulder and say to yourself, 'Dijkstra would not like this,' well that would be immortality for me."
-mental