dirty code

Poorly written software

Dirty code is software code that works but is poorly written—disorganized, hard to read, or difficult to maintain.

It may lack documentation, use confusing variable names, or take shortcuts that create problems later: We shipped it, but now we're paying for all that dirty code.

The opposite is clean code.

Also called messy code or spaghetti code.

Related

bloat · magic numbers · hack · quick fix · technical debt · clutter · error · automated testing · tangle · knot · overengineering · leak · patch · crash · cruft · kludge · chaos · jumble

Opposites
code quality and craftsmanship

dirty codeclean code

Well-organized, maintainable programming

Family

dirty, dirt, dirtier, dirtiest, dirtily, dirtiness, code, codes, coded

Familiarity
Top 500,000
Profile
Used worldwide · Timeless · Abstract · Negative · Rated G