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
-
Sometimes I can't understand code I wrote 2 weeks ago x,) that's why you always gotta comment heavily and put anyone reading the comments exactly where you were mentally when writing it in the first place
-
@asgs there is no such thing, I know plenty of people who claimed to write "self-documenting" code, it's a myth, it doesn't exist, and immediately as your app grows in complexity no careful variable naming will tell the next dev what the fuck is the reason why they are there, if you ask me, you should name your variables carefully AND comment and annotate it.
-
asgs112758y@jonnyserra I agree, but it is not a myth either. Code reviews are meant to arrest such deviations. If the project leads and maintainers keep accepting code without keeping a tap on code quality, that is bound to happen for sure and unfortunately, it just happens due to crazy deadlines and what not.
-
@jonnyserra I just came back to work after holiday break. This is my life this week.
Related Rants
That's me currently. Can't understand my own code that I wrote a year ago.
undefined
code