Browse Source

Add more principles.

pull/5/head
Oleksii Trekhleb 5 years ago
parent
commit
c96ab28e4d
  1. 2
      README.md

2
README.md

@ -64,6 +64,8 @@ const cdr = 700;
_Bad 👎🏻_ _Bad 👎🏻_
More often comments should contain some 'why' and not some 'what'. If the 'what' is not clear in the code, the code is probably too messy.
```javascript ```javascript
// The number of 700ms has been calculated empirically based on UX A/B test results. // The number of 700ms has been calculated empirically based on UX A/B test results.
// @see: <link to experiment details or to related JIRA task or to something like that> // @see: <link to experiment details or to related JIRA task or to something like that>

Loading…
Cancel
Save