3 ms·
>I think instead the real issue is that we're too bad at educating people in how to properly use the language. I don't think this is true at all. I think over
by devwastaken 10y ago
>I think instead the real issue is that we're too bad at educating people in how to properly use the language.
I don't think this is true at all. I think over time it becomes very easy to apologize for the environment we're forced to use, because there is no comparison, we only have JS for the web.
In any decent project, you're going to have hundreds of 3rd party dependencies installed from tons of sources, some of which could freely introduce exploits into popular programs at any time. If any of these break, you're going on a long hunt to track it down, ultimately to be met with authors that aren't responsive or some bug caused by god knows what incompatability.
We're stuck between the ever flowing battle of new language constructs and languages ontop of JS that try to make it 'easier'. JS lacks very important things that devs have found to be necessary, like typings, and even trying to add typings is a huge battle in itself, that again, is ever changing. Just try and google for where you should put your .d.ts files, and you'l get 4 different answers, all from different stages of versions and recommendations.
You can't teach JS. You can only say that things never stay the same, so build things fast and break them quicker. What you consider 'properly' today, is tomorrows bad practice.
- woah 10y agoYou can put //@flow at the top of your files and install a plugin for your editor and have typing in about 30 seconds.
- devwastaken 10y agoSee, thats the thing though. There's so many ways to do something, with multiple competing standards on how to do it, along with plenty of quirks and ways of working with it you only understand by experience. This is good, when you already know exactly what you need and what that provides, but its impossible to keep up unless you're spending a lot of time testing and researching, and even still, at the end of the day you've gotta make the application. One of those 'it takes a village' to make a good JS app.
- gabrielcsapo 10y agoa village?! Come on healthcare.gov ...