-
Improvement
-
Resolution: Won't Do
-
Low
-
None
Policy
The use of
/* */ |
for inline or multiline comments is not allowed.
The existing coding style policy for comments remains unchanged.
The coding standard (https://docs.moodle.org/dev/Coding_style#Inline_comments) mandates that a multiline inline comment must have each line starting with two forward slashes '//', this to me is 'ugly' and makes the comment harder to read - example attached. Therefore I propose that '/* */' are allowed for 'multiline' comments (not single).
- Discovered while testing
-
MDL-73719 Redundant theme_reset_all_caches callback
-
- Closed
-
- links to