Comment from my group project teammate. You don’t need to comment every line lol

  • magic_lobster_party@kbin.run
    link
    fedilink
    arrow-up
    3
    ·
    7 months ago

    It’s like if you were bilingual, you don’t write every sentence in both languages, because that is twice as much text to maintain (and read).

    This is a very good analogy. And just like with natural languages, you might have an easier time expressing an idea in one language but not the other. Comments should provide information that you find difficult to express with code.