• 0 Posts
  • 1 Comment
Joined 3 months ago
cake
Cake day: August 21st, 2024

help-circle
  • GooberEar@lemmy.wtftoProgrammer Humor@lemmy.mlComenting code
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    I know some folks are joking about and dunking on this, but in modern times, I have justification. Call me lazy, but I have found myself writing out these comments and then letting the AI take over to at least give me a sketch of an implementation. Works reasonably well and saves me a lot of time and effort. Mostly I don’t bother to remove them, though I usually edit them a bit.

    On the other hand, there are factions within my colleagues who steadfastly insist that commenting is unnecessary and to some degree even potentially harmful, and that if you feel the need to comment your code, it means your code should be improved so that it’s obvious what it is doing without the need for comments.