3 ms·
I prefer the alternatives: - limit the number of parameters for most functions to at most 2. - Use TypeScript (optional) and editor Intellisense (inline promp
by paradite 5y ago
I prefer the alternatives:
- limit the number of parameters for most functions to at most 2.
- Use TypeScript (optional) and editor Intellisense (inline prompts) to display parameter type when writing function calls. VS Code has this by default.
- Use objects only when unavoidable (options, forms)