From c96ab28e4d79c96a0ca8a2eb18a60fc6fb5b569e Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Wed, 29 Jan 2020 07:08:25 +0100 Subject: [PATCH] Add more principles. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 011f485..7cc63ef 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,8 @@ const cdr = 700; _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 // The number of 700ms has been calculated empirically based on UX A/B test results. // @see: