Godlike Productions - Discussion Forum
Users Online Now: 1,388 (Who's On?)Visitors Today: 228,394
Pageviews Today: 371,659Threads Today: 137Posts Today: 2,462
03:57 AM


Back to Forum
Back to Forum
Back to Thread
Back to Thread
REPORT ABUSIVE REPLY
Message Subject %Retroactively and Proactively Set evil negative influence and power to down syndrome status%
Poster Handle Anonymous Coward
Post Content
spaghetti speech, huh?

i don't understand a word you're saying.
 Quoting: Neoanderthal Man



Spaghetti code or any type of hard-to-understand code is sometimes referred to as write-only code. Other variations on the Pasta Theory of Programming include lasagna code, which is likened to structured programming, and ravioli code, which is favored and likened to object-oriented programming (OOP)."
 Quoting: Perseus7


Wow, I like it.

BASIC was a language that really lent itself to spaghetti code. How did they over come that? With languages that put sections of code into functions, or objects.

The key thing with all that - was the idea of "namespaces". Inside one of these functions, a variable - say "x", that we declared only had meaning within that function, and none outside it. So if somebody declared "x" in a different way somewhere else in the code, it didn't create havoc when we redefined it in our own way.

Context was thus made local and well defined, there was no misinterpretation of what the programmer intended.

I know what you're talking about with the mental disease. You are wise, wise enough to see the 900 pound gorilla in the room and see something as to its nature.

Peace, take care of yourself, and MERRY CHRISTMAS!!!
-Me
 
Please verify you're human:




Reason for reporting:







GLP