What is the slang English word for code that doesn't have structure: procedures, functions, classes etc. ?


Spaghetti code ?

Spaghetti code is a pejorative phrase for source code that has a complex and tangled control structure, especially one using many GOTO statements, exceptions, threads, or other "unstructured" branching constructs. It is named such because program flow is conceptually like a bowl of spaghetti, i.e. twisted and tangled.

  • 4
    Note that one of the major ingredients of spaghetti code is copypasta. – Flater Jul 26 '17 at 11:14
  • And if it's just a huge piece code invoking pretty same operations(not tangled I mean)? What we say in Belarusian slang language literally translates "cloth of code". Do we have an analogy for this in English? – Rudziankoŭ Jul 26 '17 at 11:18
  • @Rudziankoŭ , I'm thinking maybe 'redundant code'. See here: bing.com/… – Chim Chimz Jul 26 '17 at 12:47
  • When we sit down for a review of such code, the speaker usually begins with, "This is mess." – user116032 Jul 26 '17 at 16:38
  • 1
    While this is probably what he's looking for, spaghetti code usually refers to over-structured code, not structure-less code. I don't know of a slang term that really fits what he asked for. – Patrick Keenan Jul 30 '17 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.