Re:Ask HN: Will front end development ever move away from Ja...
by woah on Sunday March 12, 2017 @04:12PM
(#13852792)
You can put //@flow at the top of your files and install a plugin for your editor and have typing in about 30 seconds.
Re:Ask HN: Will front end development ever move away from Ja...
by devwastaken on Sunday March 12, 2017 @07:19PM
(#13853883)
See, 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.
Re:Ask HN: Will front end development ever move away from Ja...
by gabrielcsapo on Monday March 13, 2017 @02:04AM
(#13855580)
a village?! Come on healthcare.gov ...
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.