title: What is spaghetti code?
body: <p>Can you post a short example of real, overdone spaghetti code, possibly saying what it does? Can you show me a little debugger's nightmare?</p>
  
  <p>I don't mean <a href="http://www0.us.ioccc.org/main.html" rel="noreferrer">IOCCC</a> code, that is science fiction. I mean real life examples that happened to you...</p>
  
  <h3>Update</h3>
  
  <p>The focus has changed from "post some spaghetti code" to "what is <em>exactly</em> spaghetti code?". From a historical perspective, the current choices seem to be:</p>
  
  <ul>
  <li>old Fortran code using computed gotos massively</li>
  <li>old Cobol code using the ALTER statement</li>
  </ul>