Code that just about works, hanging together from borrowed code, ineffective classes and functions.
Often this is the result of bad planning, or an iterative approach to fixing bugs over time.
Alan: How does this code you wrote work?
Ada: No clue, I wrote it 6 months ago and has become duct tape code.