DEV Community

loading...

Discussion on: Try to avoid comments (most of the time)

Collapse
hugekontrast profile image
Ashish Khare😎

Commenting on our own code is a part of planning, also it gives you a moment to rethink about your code and its necessity. Things become obsolete because they were written at a specific point of time in the past. Natural fact! Do not cry on that. Try to understand the difference between what is given and what you want. Then act accordingly. Avoiding things is not a solution to everything. Sit down, talk, think and act normal is the solution. Plus, this post seems to me a kickback of your frustration over something obsolete and wrong according to your present. It happens, but don't stop commenting. Everyone knows why the maker made comments. Follow the conventions while break the rules!

Collapse
shockwavee profile image
Davor Tvorić Author

This article is more about writing inline comments inside of your code, not in a general sense of getting feedback on your code. I'm a 100% all for feedback on your code and getting better!
If I have misunderstood you, could you please clarify what you're saying?

Collapse
hugekontrast profile image
Ashish Khare😎

I could have but I myself don't know what I say.