How to comment code
Below is an example of how to comment your code:
Another way to comment..
We can also use
Why is commenting important?
When we write code, we know exactly why we are doing things, but upon looking at it again, it can be quite confusing why we did anything at all. Comments give context not only to us, but anyone else who picks up this code in the future. That let's everyone work better together, and means your code is much easier to understand.
- How to get the Full URL in Express on Node.js
- How to install nvm, the Node Version Manager
- Scheduling and Runnning Recurring Cron Jobs in Node.JS
- How to Stop Using jQuery