Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Ahhhh what a nightmare. I have no room to talk. My early codes were very lacking in the comment department. Now I can't write a single line without writing at least 3times as much comment. I like to keep my comment/code ratio as high as possible when necessary.
-
BoomeH21248y@noshoesplease I've heard a lot of different opinions about commenting. Some claim the code should be so clear that it doesn't need comments, and others won't accept code without it. My short experience tells me it can never hurt the clearability of the code though..
-
yusijs12508y@BoomeH My rule is to comment all functions to explain what they do. Everything else is selfdocumented from variablenames + types imo.
-
kshep9232708yA year ago? I wrote code like this on Sunday writing my first Gulp plugin and trying to understand why it wasn't working 😄😄
-
BoomeH21248y
Related Rants
You know the cringe you feel from looking at the code you wrote a year ago? Yep. Me too.
undefined
lol