3 ms·
I use a lot of comments, for many reasons. While it leads to more things to read, which thus may take time, I feel that the benefits of using comments far outw
by shevy-java 9mo ago
I use a lot of comments, for many reasons.
While it leads to more things to read, which thus may
take time, I feel that the benefits of using comments
far outweighs the negative sides. This is even valid
when comments are outdated usually. To me, adjusting
and updating comments often was much easier and faster
than describing something de-novo.
In the ruby land this is quite problematic because many
do not use any comments. The result is a horrible code
base. Getting people who wrote that code to use comments
is often too late, as they already abandoned ruby in favour
of another language, so I never buy the cop-out explanation
of "the code is self-explanatory" - not even in ruby it is.
Everyone can write horrible code.