Giving names in a language that doesn't support function overloading is a challenging task. It is, however, important to follow some standards to avoid naming conflicts, misleading names, and also to maintain a unified style. The following rules were developed to encourage programming in a functional style in TypeScript, but can also be used anywhere else where it makes sense.
The following rules are work in progress, and far from being complete, your questions and ideas are welcome. Please leave a comment.
- Avoid naming conflicts and misleading names.