spaghetti code

noun — 2 senses

spaghetti code

noun
1

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences Derogatory, Informal Unstructured or poorly structured program source code.

  • The descriptive name for logically snarled program statements is spaghetti code, because the logic is as hard to follow as one noodle through a plate of spaghetti. Not only is spaghetti code confusing, but also the programs that contain it are prone to error, difficult to reuse, and hard to use as building blocks for larger applications.2017, Joyce Farrell, Programming Logic & Design, Cengage Learning, →ISBN, page 88:
2

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences Dated, Derogatory, Informal Code with many GOTO statements or their equivalent.

Related terms
big ball of mud, cable spaghetti, rat's nest, structured programming, tag soup

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.