diff --git a/README.md b/README.md index d438f64..9423570 100644 --- a/README.md +++ b/README.md @@ -117,9 +117,9 @@ function getUser(): User; **[⬆ back to top](#table-of-contents)** -### Use searchable names / Avoid Magic Literals +### Use searchable names -We will read more code than we will ever write. It's important that the code we do write must be readable and searchable. By *not* naming variables that end up being meaningful for understanding our program, we hurt our readers. Make your names searchable. Tools like [ESLint](https://typescript-eslint.io/) can help identify magic literals. +We will read more code than we will ever write. It's important that the code we do write must be readable and searchable. By *not* naming variables that end up being meaningful for understanding our program, we hurt our readers. Make your names searchable. Tools like [ESLint](https://typescript-eslint.io/) can help identify unnamed constants (also known as magic strings and magic numbers). **Bad:**