Spaghetti code refers to unstructured, patched-together program logic which is hard to follow/trace — much like following a single strand of spaghetti in a fully mixed bowl.