From 5840108d1ad7354ff4b5660797221dd67036052e Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Tue, 28 Jan 2020 06:42:23 +0100 Subject: [PATCH] Update README. --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c8e423..d3ae83e 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,30 @@ If your repository follows the state-of-the-art shitcode principles you may use 👍🏻 Good: -``` +```javascript let a = 42; ``` 👎🏻 Bad: -``` +```javascript let age = 42 +``` + +### 💩 Always write comments in your local language. + +You don’t want it to be readable by oversees teams. + +👍🏻 Good: + +```javascript +// Обновляем состояние компонента +setAge(42) +``` + +👎🏻 Bad: + +```javascript +// Update component state +setAge(42) ``` \ No newline at end of file