r/javascript • u/PMilos • May 22 '19
JavaScript Clean Code - Best Practices - based on Robert C. Martin's book Clean Code
https://devinduct.com/blogpost/22/javascript-clean-code-best-practices
542
Upvotes
r/javascript • u/PMilos • May 22 '19
1
u/AwesomeInPerson May 22 '19
Which one are you using? Neither VSCode nor WebStorm warn me when I call a function with less arguments than the amount of parameters it accepts. (because I forgot to add some
nulls or default values for params I want to skip)Maybe if you enable strict TS checking for JS files, but that's not really a solution in a lot of environments.