On Thu, Dec 26, 2019 at 07:29:27AM +0000, Marcus Daniels wrote: > Most programmers won't struggle to rationalize or improve code written by > other people. The problem is that people are selfish. They think that > their 10K LOC problem is beautiful and nimble, but that 1M LOC was once that > too. It's the behavior of teenagers.
Well the examples I mentioned were all rewritten/refactored from a selfish need - I had inherited code that I had experienced as having high technical debt, requiring much more effort to modify for future needs than ought to be, and eventually persuaded my PM that fixing that debt was a good investment. Of course a piece of crap code that happens to work just fine, and doesn't need to be touched, I will leave that well alone, of if necessary, craft an interface that takes care of administrative needs (such as memory allocation and so on). I only refactor code that gets in the way of getting the job done. My point really was that the difficulty of working on a codebase is directly correlated with LOC, and that acceptable brevity a desirable trait (my taste for brevity seems to be much more developed than many of my colleagues, however, perhaps because I have a mathematical background!). -- ---------------------------------------------------------------------------- Dr Russell Standish Phone 0425 253119 (mobile) Principal, High Performance Coders Visiting Senior Research Fellow [email protected] Economics, Kingston University http://www.hpcoders.com.au ---------------------------------------------------------------------------- ============================================================ FRIAM Applied Complexity Group listserv Meets Fridays 9a-11:30 at cafe at St. John's College to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com archives back to 2003: http://friam.471366.n2.nabble.com/ FRIAM-COMIC http://friam-comic.blogspot.com/ by Dr. Strangelove
