Comments in code

Comments in code explain why specific logic was used, and what the code does. Comments are for other people who look at the code. Comments are ignored by a machine and don’t impact performance of the code.

There could be single line comments. These comments are simple.

There are also multiple line comments. These explain more complex functionality.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator