1
0
mirror of https://github.com/garraflavatra/alphabets.git synced 2025-01-18 21:27:58 +00:00

Make reasoning in readme a bit more polite

This commit is contained in:
Romein van Buren 2023-08-07 19:02:07 +02:00
parent e643f904ca
commit 7d8e954fda
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -19,7 +19,7 @@ Or [worse](https://github.com/search?q=%5B%22a%22%2C+%22b%22%2C+%22c%22%2C+%22d%
const alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; const alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
``` ```
My opinion about this: it's ugly, and it pollutes your code. Instead, you should [do it like so](#how-to-use): My opinion about this: it's ugly, and it pollutes your code. Instead, why not [do it like this](#how-to-use):
```js ```js
import { latin } from 'alphabets'; import { latin } from 'alphabets';