Spaghetti code

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Ebybymic (Talk); changed back to last version by JaninaVoigt)
 
Line 3: Line 3:
 
Spaghetti code can be caused by a number of things including excessive and unstructured use of GOTO statements and objects accessing each other's internal parts. Inexperienced programmers sometimes tend to write spaghetti code when they first learn to program.
 
Spaghetti code can be caused by a number of things including excessive and unstructured use of GOTO statements and objects accessing each other's internal parts. Inexperienced programmers sometimes tend to write spaghetti code when they first learn to program.
  
>==Liabilities==
+
==Liabilities==
 
*Makes a system hard to understand.
 
*Makes a system hard to understand.
 
*Makes a system hard to maintain because it is difficult to understand and because bugs are difficult to trace.
 
*Makes a system hard to maintain because it is difficult to understand and because bugs are difficult to trace.
 
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://iwybyxire.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 
----
 
=[http://iwybyxire.co.cc CLICK HERE]=
 
----
 
</div>
 
  
 
==See also==
 
==See also==
 
*[[Object orgy]]
 
*[[Object orgy]]
 
*[[Goto considered harmful]]
 
*[[Goto considered harmful]]

Latest revision as of 03:21, 25 November 2010

Spaghetti code is a common term for complicated and convoluted code that is difficult to understand and maintain. It is called spaghetti code because the control flow of the code looks like spaghetti and goes all over the place.

Spaghetti code can be caused by a number of things including excessive and unstructured use of GOTO statements and objects accessing each other's internal parts. Inexperienced programmers sometimes tend to write spaghetti code when they first learn to program.

Liabilities

  • Makes a system hard to understand.
  • Makes a system hard to maintain because it is difficult to understand and because bugs are difficult to trace.

See also

Personal tools