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
-
zetef4477yI totally agree with you. It's like explaining to a 3rd grader something and make you actually understand what you were writing, or is just me...
-
sallai2047yOh, i do that too! Not every time though, but it can come in handy most of times. I mostly comment my code to divide it into logical pieces. Something like......"the following few lines will get the user input from POST, the next few lines will pass it to an API" etc. It's a good practice if you want to write readable and well-documented code!
-
Hausen7177y@bashleigh I'm sorry, but I have one already that I'm very happy with :)
@frickerg Why don't you like it?^^
@sallai That's what I do, too! ... A collegue of mine sometimes comments every line of code, which leads to something like this:
// gets the header of the table
table.getHeader();
Thank your, Sherlock.
@Brolls By "technical" you mean the UML diagrams for example? -
@Hausen actually it's not that bad, I mostly comment for the team or for myself, but it was tough when I started coding and really thought it was a waste of time... oh well, we all get better at it I guess :)
-
@grubbering actually I am looking for a coding summer job to finance my last year of bachelor's studies :D
Related Rants
I actually like writing comments and documentations.
rant
outing