How useful are commentaries in a code? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How useful are commentaries in a code?

16th May 2020, 4:33 AM
Juan Manuel
Juan Manuel - avatar
3 Réponses
+ 1
You should always make sure you're commenting throughout your code, as it may help you track down mistakes in your code. Additionally, if you work on a team in which other people may look at your source code, leaving comments in your code is a good way to ensure that your team members understand your logic.
16th May 2020, 5:39 AM
Christopher Fairchild
Christopher Fairchild - avatar
+ 1
Comments are really very useful for ourselves and to others to understand the code, what we have written actually... Those are helpful at the time we have forgotten what we wrote....
16th May 2020, 4:35 AM
sarada lakshmi
sarada lakshmi - avatar
- 2
Prio1: comments that are up to date Prio2:no comments at all Prio3 and evil:comments that are garbage
16th May 2020, 6:22 AM
Oma Falk
Oma Falk - avatar