Code Comments

Code Comments

Update: 2018-01-19
Share

Description

 



Outline




  • Definition of comments: “Metadata in source code that describe what code fails to communicate. Some languages and frameworks opt to use the mechanism of comments as formal documentation for code, but these two concepts should be separated.

  • Strive to make code self-documenting

  • Formal Documentation vs. Code Comments

  • Using tests to document your code

  • Considering strong types as a type of documentation

  • Docstring Tests

  • The value of documenting types

  • Worthless comments should be avoided

  • Don’t use comments to “vent” your emotions



Links



Comments 
In Channel
Requirements

Requirements

2018-08-3052:56

Delivery

Delivery

2018-05-2053:03

Learning New Things

Learning New Things

2018-03-3049:55

Monorepo

Monorepo

2018-03-0137:54

Code Review

Code Review

2018-01-2036:13

Code Comments

Code Comments

2018-01-1954:01

YAGNI

YAGNI

2018-01-1801:00:54

Points

Points

2018-01-1727:54

00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Code Comments

Code Comments

The New Best Practices