Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Code comments are your code autobiography

Code comments are your code autobiography

The importance (and benefits) of writing code comments as part of implementing your code.

Based on an article I wrote:

https://medium.com/@dvirsegal/code-comments-are-your-code-autobiography-7202c45b5e37

Dvir Segal

August 07, 2019
Tweet

More Decks by Dvir Segal

Other Decks in Programming

Transcript

  1. 1. Code comments are coupled to the code itself 2.

    It is in the developer’s responsibility to update them too 3. Should be checked during a code review
  2. Scope::Access modifiers The scope of the code is not relevant

    whether you should or shouldn’t put a comment on it