What is the slang English word for code that doesn't have structure: procedures, functions, classes etc. ?
1 Answer
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.
-
4Note that one of the major ingredients of spaghetti code is copypasta.– FlaterJul 26, 2017 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? Jul 26, 2017 at 11:18
-
@Rudziankoŭ , I'm thinking maybe 'redundant code'. See here: bing.com/… Jul 26, 2017 at 12:47
-
When we sit down for a review of such code, the speaker usually begins with, "This is mess." Jul 26, 2017 at 16:38
-
1While 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. Jul 30, 2017 at 15:16