|
|
|
|
|
by tcbasche
1545 days ago
|
|
>- don't choose lazy pluralization - eg instead of `names/name`, use `nameList/nameItem` Isn't this just extra noise? If the type of the variable is an Array wouldn't `nameArray` be superfluous? Worse still is if the type changes but the name stays the same. I get the advice is probably Javascript specific, but even in a Typescript world it doesn't make much sense to me to do this kind of type-in-name encoding. |
|