Programming code that is redundant or poorly written. Cruft may also refer to collections of old hardware parts that are obsolete. The term's derivation is unknown, but some think it came from Harvard University's Cruft Laboratory, where discarded equipment had been seen lying around for years. See
spaghetti code.