4 ms·
Really, the largest problem I see in javascript is exactly how it doesn't have a lot of features to enforce style. Sure, there is some other wonky stuff, but t
by rocqua 10y ago
Really, the largest problem I see in javascript is exactly how it doesn't have a lot of features to enforce style.
Sure, there is some other wonky stuff, but the ease with which one can write bad javascript is the core issue.
- treehau5 10y agoThis is a relatively solved problem with a proper .eslintrc and a style guide. You can pick two of the most popular -- airbnb or standardjs, npm install their eslint rules, and go on your merry way. Rolling your own and/or extending these is relatively simple.