24646 shaares
46 liens privés
46 liens privés
Je cite l'auteur
To summarize, here are the five rules that will help you achieve functional code:
- Keep your functions pure.
- Always declare variables and functions using const.
- Use arrow notation for functions.
- Avoid using for loops.
- Use type declaration comments and avoid type coercion shortcuts.