Andrew Lentvorski wrote: >.. > Refactoring requires that you understand the old code, write tests, > refactor while gaining no new functionality, and only *then* pull out > bad subsystems and redo them. > > That's a whole lot of unfun coding. Writing a second system with less > functionality and *still* no tests is much more fun. > > While the developers deserve 90% of the blame, to some extent, I blame > C/C++. C/C++ makes refactoring code much more annoying than it needs to > be. The crappy preprocessor is mostly to blame.
I'm not sure what you mean by crappy? It's certainly pretty complex -- maybe too complex? What sort of faults yield crappiness? Oh! Hey =-O .. wud-n-it be kinda neat if the preprocessor could be reimplemented in (say) python? Would that make IDE tools and debuggers more interactive and (maybe) informative in terms of tracing contorted preprocessor logic? Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
