Comments
The Pattern Language, just like most other programming languages, supports comments. A comment is a piece of text that is ignored by the evaluator. Comments are useful for documenting your code, and for temporarily disabling code.
Single line comments
Single line comments start with a double slash (//) and continue to the end of the line.
Multi line comments
Multi line comments start with /* and end with */.
Doc comments
Doc comments are used to provide extra documentation for the whole pattern, individual functions or types.
There are multiple ways to write doc comments:
Last updated