In a former employment, I labored for a couple of years over an app in which the average length of routines was roughly 350 lines. Refactoring was not permitted.
I currently am refactoring a 10k+ line unit too that hopefully will break down into some 20 units. Not counting the standard units, the interface uses section includes over 40 units. I need a much bigger screen :P
And it has 3829 lines of code.
ReplyDeleteAnd 50 methods.
ReplyDeleteAnd oh, by the way, it's a TThread descendent.
ReplyDeleteI know what you feel, bro
ReplyDeleteIn a former employment, I labored for a couple of years over an app in which the average length of routines was roughly 350 lines. Refactoring was not permitted.
ReplyDeleteRefactoring not permitted? Huh?
ReplyDeleteI currently am refactoring a 10k+ line unit too that hopefully will break down into some 20 units. Not counting the standard units, the interface uses section includes over 40 units. I need a much bigger screen :P
ReplyDeleteIn that former employment. It was clear that the #1 design pattern in the app had been copy and paste.
ReplyDeleteWe've all been there, Bill Meyer :-(
ReplyDeleteSimon Stuart LOL -- haven't found that yet. ;-)
ReplyDeleteAnd this thing, I should add, is really well named, at least.
HellUnit.THades;
ReplyDeleteFiguring out /what/ it does is easy: Everything. It's the details that stink.
ReplyDeleteAnd it uses nested With's and lots of GOTOs.
ReplyDeleteI prefer to have TThing objects.
ReplyDelete