+ 3

Do comments slow down the code as they accumulate?

the more comments a developer puts in, the larger the file becomes. does this become cumbersome as the file grows?

14th Feb 2017, 11:16 PM
Luke Owen
Luke Owen - avatar
6 Réponses
+ 8
As long as the language 'garbage collect' it won't be affected. however, even if it doesn't, the lines of docstrings (comments) would have to be of a substantial amount to actually interfere with the memory performance. Great question, though :)
15th Feb 2017, 12:09 AM
Tristan McCullen
Tristan McCullen - avatar
0
For compiled languages : no as that are removed when the code is compiled For other I do not really know :/
14th Feb 2017, 11:21 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
0
makes sense. thanks
14th Feb 2017, 11:22 PM
Luke Owen
Luke Owen - avatar
0
you're welcome !
14th Feb 2017, 11:34 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
0
thanks Tristan
15th Feb 2017, 12:22 AM
Luke Owen
Luke Owen - avatar
0
thqnks
18th Feb 2017, 11:32 AM
zuvaygym