PDA

View Full Version : What is Spaghetti programming ?



Shivangi Panwar
05-19-2016, 09:36 AM
What is Spaghetti programming ?

web designer57
05-23-2016, 03:59 AM
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.

webdesign123
05-24-2016, 05:06 AM
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.

benchmark
07-25-2016, 03:17 AM
Spaghetti code is a derogatory term for computer programming that is unnecessarily convoluted, and particularly programming code that uses frequent branching from one section of code to another.

pmwelec
07-28-2016, 03:50 PM
Does anyone still write spaghetti code in the 21st Century. The GOTO statement was the main culprit, does it still exist in any languages?

Bluesky94
10-31-2016, 10:22 AM
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. Spaghetti code can be caused by several factors, such as continuous modifications by several people with different programming styles over a long life cycle. Structured programming greatly decreases the incidence of spaghetti code.