On Thu, Aug 16, 2007 at 09:54:53AM -0700, Chuck Guzis wrote:
Nested "IF-THEN-ELSE" is now spaghetti code?
No, it is not. Article is wrong.
But saying "GOTOS = Spaghetti code" is also wrong. Spaghetti Code is any
code that is "hard to follow", ie. the execution thread (and the meaning
behind it) is obtuse and difficult to understand. It has nothing to do
with what language is being used. It's possible to write spaghetti
code in any language, really.
--
Jim Leonard
http://www.oldskool.org/ Email: trixter at
oldskool.org
Like PC games? Help support the MobyGames database:
http://www.mobygames.com/
Or taste a slice of the demoscene at
http://www.mindcandydvd.com/