You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There isn't a reason provided as to why that format is better than others, and currently the example code seems to be using // for multiline comments. Should we revise the style guide to recommend using //, since its what contributors seem to be defaulting to, and it's more common since it's the default way text editors comment out code automatically. It also might be more accessible for beginners to only have to use one commenting format for comments, whether they are single or multiline.
The text was updated successfully, but these errors were encountered:
Topic
Working on https://github.com/processing/p5.js-website/issues/1385, there is discussion about the current style guideline for multiline comments, which is to "Use /** ... */ for multiline comments."
There isn't a reason provided as to why that format is better than others, and currently the example code seems to be using // for multiline comments. Should we revise the style guide to recommend using //, since its what contributors seem to be defaulting to, and it's more common since it's the default way text editors comment out code automatically. It also might be more accessible for beginners to only have to use one commenting format for comments, whether they are single or multiline.
The text was updated successfully, but these errors were encountered: