Re:Hopefully more controversial programming opinions
by cubicle67 on Thursday August 30, 2012 @04:52AM
(#4453691)
oh hell yeah, absolutely. This sort of code is not uncommon at all but is pretty much incomprehensible (let alone maintainable) for anyone beyond the original implementer
[ Parent
| on HN ]
Re:Hopefully more controversial programming opinions
by Tycho on Thursday August 30, 2012 @06:05AM
(#4453875)
If one day somebody else does inherit the codebase, are there any tools out there that are designed to help people in that situation? Like something that de-spaghettifies everything?
Re:Hopefully more controversial programming opinions
by koide on Thursday August 30, 2012 @06:54AM
(#4453973)
Appropriately, it's a book: http://www.amazon.com/Working-Effectively-Legacy-Michael-Fea...
Some automatic tools could help (although I doubt thay'll work on DBase III): Static analysis to see what's there, version control to start at the top and log your way through and be able to rollback to a previous working version.
But it's at the very least weeks of pain.