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
-
yo-yo13638yDid you open file 6, weeks later, or did you open file, 6 weeks later? :P This was hilarious by the way
-
I hate it when people put comments just for the sake of commenting
// Set background to white
background.color = 'white';
Orly? -
If you need comments to understand your code 6 weeks later, than your code isnt self descriptive enough. Think about small methods and useful names for classes, methods and variables
-
@gedankennebel exactly, you need to comment weird business logic and such, but otherwise the code should be self-descriptive
-
@gedankennebel gave me a good idea, what's the weirdest business logic you had to implement?
-
@beercoder hmm.. puh.. I usually try to get over them :P.. you should start this question as a new rant.. could b entertaining :)
-
gdb123111788yAt least he should name variables,classes and methods in a intelligent way to make it easier to understand :-)
That happens with me after every lazy programming 😓😓
undefined