Relative Content

Tag Archive for comments

good replacement for commenting out code? [duplicate]

This question already has answers here: Can commented-out code be valuable documentation? (13 answers) Closed 10 years ago. It bothers me to see commented out code and it seems often-times a symptom of developers not being proficient in advanced source control features, but on the other hand source control does not really go all the […]

good replacement for commenting out code? [duplicate]

This question already has answers here: Can commented-out code be valuable documentation? (13 answers) Closed 10 years ago. It bothers me to see commented out code and it seems often-times a symptom of developers not being proficient in advanced source control features, but on the other hand source control does not really go all the […]

Are comments obsolete in favor of Generative AI?

With generative AI, you can just ask it to explain the code to you. In my experience, it is reliable and accurate – which cannot always be said about manual comments. I am specifically referring to comments on signatures – not necessarily inline comments, TODOs, or things of that nature.

Are comments obsolete?

With generative AI, you can just ask it to explain the code to you. In my experience, it is reliable and accurate – which cannot always be said about manual comments. I am specifically referring to comments on signatures – not necessarily inline comments, TODOs, or things of that nature.

Using commented dashes to divide up code chunks

I’m taking another crack at learning java with the aim of getting a job. as I write code, I sometimes find it quite difficult to navigate my code using the formatting I often see in tutorials. something I’ve found that helps me is dividing up chunks of codes with long commented dashed lines (example below).