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

  • Tamkish@programming.dev
    link
    fedilink
    arrow-up
    20
    ·
    edit-2
    7 months ago

    I would argue that if an if statement is hard to parse, replace the entire condition with simpler to read (but way more specific) variables that you assign values (the original condition expression) in the line above. No need for comments in that case