Spaghetti Code

Code Structure


description

What is Code Structure?

Code Structure represents the physical arrangement of code within a program. Spaghetti code does work sometimes, but nobody can read it. Proper code structure makes use of several key components to make code easy for anyone to read and understand, even people who have no programming knowledge.
The main topics are:
  • Code Blocks
  • Alignment
  • Spacing
  • Comments
This module will explain each of these ideas in more depth. Click "Continue" to start learning about code blocks!