You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/03-code-quality/04-ninja-code/article.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,21 @@
1
1
# Ninja code
2
2
3
-
Programmer ninjas of the past used these tricks to make code maintainers cry. Code review gurus look for them in test tasks. Novice developers sometimes use them even better than programmer ninjas.
3
+
Programmer ninjas of the past used these tricks to make code maintainers cry.
4
+
5
+
Code review gurus look for them in test tasks.
6
+
7
+
Novice developers sometimes use them even better than programmer ninjas.
4
8
5
9
Read them carefully and find out who you are -- a ninja, a novice, or maybe a code reviewer?
6
10
7
11
[cut]
8
12
13
+
9
14
```warn header="Irony detected"
10
-
These are rules of writing bad code. Just... You know, some people miss the point.
15
+
Ninja path lies ahead. You've been warned.
11
16
```
12
17
18
+
13
19
## Brevity is the soul of wit
14
20
15
21
Make the code as short as possible. Show how smart you are.
0 commit comments