Earlier quoted context omitted.
How would you suggest developers actually figure out what tools to use? It is next to impossible to make an informed decision without digesting a good portion of what the OP is talking about. You need to start somewhere.
Where the OP falls off is with stuff like "OMG don't use jQuery" or "no one uses HTML anymore". There's nothing wrong with using those -- and frankly using plain old javascript and HTML is fine. Remember we reached for jQuery in the first place because the browser lacked features we wanted, and because it handled cross browser stuff for us. That is, it simplified things we were already doing manually . So the trap is…
How it feels to learn JavaScript in 2016
101–110 of 236 posts
Re: How it feels to learn JavaScript in 2016
#102Earlier quoted context omitted.
> React is very popular but it suits one very specific use case, it should be used almost nowhere else. Which use case? I've never worked with React but from yesterday's stateofjs.com I got the impression it's currently the go-to framework for everything.
> Which use case? If you're building Facebook.
Re: How it feels to learn JavaScript in 2016
#103When I learned it in 2011 it was already strange to me, coming from years of work with PHP. Also, Java and C in university.
It was nerver meant to build big applications and had a few issues that many people tried to assert.
Old implementations which needed stuff like jQuery to normalize the APIs, no native module system so everyone implemented their own stuff (ExtJS, CommonJS, AMD, etc.), strange scoping rules forcing variable aliases and wrapper functions all over the place, functions as first class objects intruducing people to a new world of possibilities with ideas from FP, prototype based OO which comes with a different set of problems than class based OO.
The whole "we want new stuff now" movement forced many tools onto us to build our software, which before could simply be run in a browser without compilation. So we got rid of a few problems with a whole set of new problems.
Re: How it feels to learn JavaScript in 2016
#104Re: How it feels to learn JavaScript in 2016
#105Re: How it feels to learn JavaScript in 2016
#106This misses the point. It's about the unit test. jQuery is easy to develop with but difficult to unit test. React is slow to develop with but easier to unit test. For small projects, jQuery is better. For large projects where the all the persons writing it tomorrow might not be here today, pick the testable one so they have a chance of future refactoring.
Re: How it feels to learn JavaScript in 2016
#107Funny, but it's not quite that complex. How about "Here's a link to a CLI utility or git repo which will give you a working project in 2-3 hours"? I took a break from web dev for some years and had barely used any JS frameworks besides jQuery, until June, when I began working on an ambitious project and quickly got up to speed with the state of JS. I'm using React/Redux/Sagas/Webpack/etc. for the client, and Express…
> which will give you a working project in 2-3 hours > you can learn React in a few hours. What's the big deal? Assuming we are still using the same example (filling a table with some data and filtering it), I think 2-3 hours is a good example of how long it takes to write that in plain Javascript and testing it on every browser back to IE6 while having lunch in between.
I'd probably use React for a project that simple, particularly if it needed to be maintained and expanded by others.
Re: How it feels to learn JavaScript in 2016
#108I'm getting tired of these pointless non-specific rants. You could write an article about "How it feels to learn C++ in 2016" and make it all about the complexities of operating systems, linking, compilation, text editors and the QWERTY keyboard layout, and you'd still be as accurate. All you need to "JavaScript in 2016" (as a beginner) is a config file and one or two commands. That's it. If that's too information or…
The worst thing is, every single thing these frameworks are trying to address are solved problems, and have been for decades. But people love reinventing wheels.
Re: How it feels to learn JavaScript in 2016
#109Earlier quoted context omitted.
So what do you do about jobs asking for Angular/React experience? Just tell them you have none because you haven't needed to use them yet? Or avoid those jobs? (There are a lot)
I'm not the person you replied to, but I'd recommend learning them well enough to know their strengths, and then telling the interviewer that's what you did. If you have any experience in other front end frameworks, that'll usually be enough to get you through that part of the interview anyhow.
I mean, if you get the right mind-set of wanting to understand "what is the intention of the framework devs" you can pretty much learn any framework.
Problems mostly come if you try to force your React/Ember/Backbone knowledge into another framework.
I got all my jobs without prior knowledge of the used frameworks.
Re: How it feels to learn JavaScript in 2016
#110In my experience, the developers who fall into this trap of despair almost always do so because they aren't consciously choosing what tools to use; instead they are letting the tools choose them. They see job descriptions demanding AngularJS or ReactJS and they think that they must learn it, or someone posts an article here and they don't want to feel left behind. Choose a library or tool because it improves your dev…
I researched all the major tools and committed to django, react, fluxxor, leaflet. As the major parts. All but leaflet (now OpenLayers) are still around and growing well.
The most important thing is that I got to pick which tools felt most resilient to rapid development and lots of rookie mistakes. Even if they may have been overkill or not ideal or some thing I cant possibly know as a newcomer.
In the past I did chase the dream of the one toolset to end them all and it had me never committing for any meaningful duration.