Concept
How do PHP features and whitespace support organized code?
ComputerScienceOne / Basic Syntax Rules
"PHP also supports aspects of OOP including classes and inheritance. There is also no memory management in PHP: it has automated garbage collection. Though not a syntactic requirement, the proper use of whitespace is important for good, readable code. Code inside code blocks is indented at the same indentation. Nested code blocks are indented further. Think of a typical table of contents or the outline of a formal paper or essay. Sections and subsections or points and subpoints all follow proper indentation with elements at the same level at the same indentation. This convention is used to organize code and make it more readable."
Related Ideas
- What are the main characteristics of PHP as a programming language?ComputerScienceOne · Basic Syntax Rules
- What are the basic syntax rules of C?ComputerScienceOne · Basic Syntax Rules
- What are the basic syntax rules of Java?ComputerScienceOne · Basic Syntax Rules
- Which topics are listed in this section?ComputerScienceOne · Basic Syntax Rules . . . . . . . . . . . . . . . . . . . . . . . . . .
- What development environment do you need to use for Java?ComputerScienceOne · Basic Syntax Rules