Skip to content

Commit e56a858

Browse files
author
Kenji Shimizu
committedMay 27, 2024
style: updates
1 parent c3037fd commit e56a858

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎Readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Take that with a grain of salt, however. If the codebase inherited does everythi
6565
const lgd = (a) => a.filter(u => u.l);
6666

6767
// ...but we will be better than that
68-
const filterLoggedInUsers = (userArray) => userArray.filter(user => user.loggedIn)
68+
const filterLoggedInUsers = (userArray) => userArray.filter(user => user.loggedIn);
6969
```
7070

7171
Another example of consistency
@@ -91,7 +91,7 @@ Some times we get addicted to achieving the smallest code possible – and we o
9191

9292
Generally speaking, the more _obvious_ you make it for someone else, the easier it will be to work with it. That said, it might be possible to be overly verbose, and there is certainly a fine line between too little and too much.
9393

94-
#### When is too little
94+
#### When is too little?
9595

9696
- Be descriptive with non-trivial conditions
9797

@@ -130,7 +130,7 @@ Generally speaking, the more _obvious_ you make it for someone else, the easier
130130
}
131131
```
132132

133-
#### When is too much
133+
#### When is too much?
134134

135135
- Avoid comments that tells exactly what the code is already saying
136136

0 commit comments

Comments
 (0)
Please sign in to comment.