Expression describing code written by inexperienced, lazy and untalented developers

Solution 1:

I think "spaghetti code" implies ineptitude, but it might also implies several developers and something that grew out of control over time. "Legacy code" is another excuse I hear for crap code. When a developer is speaking of their own garbage code they call it "quick and dirty" implying they just didn't have time to do a good job. "Hack" is often misunderstood to mean "crack" security, but it really means inelegant, inefficient code that works.

FWIW, some people don't like compact, elegant code if it ends up hard to read and understand. slightly longer, but readable code is sometimes preferred.