r/javascript • u/n9jd34x04l151ho4 • Dec 11 '18
help Constant framework and library churn is putting us all out of jobs
All these new new JavaScript frameworks and libraries every month is putting regular developers out of work. I'm a senior full-stack developer and I've been working my most recent job as a front-end developer for 4 years mainly using plain JavaScript and jQuery. What the hell is going on? Now I have to relearn everything. It sucks arse. So I've been doing React tutorials on CodeAcademy to skill up. To give them credit, they explain things well and everything is done piece by piece to explain what is going on so I think I understand what's going on pretty well. However, after doing the regular React and advanced React courses I'm still dumbfounded as to what use React really provides. It just seems like an over-complicated, over-engineered piece of crap. I could do whatever they are trying to do in jQuery or plain JavaScript with a quarter of the code and twice as fast. Now to get even half competitive with some n00b developer straight out of University I have to learn all this crap and have built 5 professional projects with it already to still consider myself "senior" at front-end development. It gets worse if I want to apply for some job that needs Redux/Angular/whatever JavaScript flavour framework of the month.
I just want to say to all JavaScript library/framework developers out there: stop this nonsense. You've turned JavaScript into PHP. A damn new framework to learn every month. Actually it's likely Facebook started this crap as they were PHP developers originally.
This perfectly describes my React experience: https://twitter.com/thomasfuchs/status/928808041587314689. What the hell is going on? Why do I want to build my app like this? Next up: 100 replies to try Vue, .whatever.js etc as if it's somehow better in x, y or z. Did you know you can build all this stuff in plain JavaScript and it will be much more maintainable and futureproof? I think we need to collectively learn how to build a proper, maintainable, micro framework per application in plain JavaScript. Then that app sticks with that design for its lifetime or it upgrades it piece by piece. Not build it with React/whatever generic framework and have it be subjected to arbitrary upgrades every month when that company decides it's time to introduce new, breaking changes just because.
Seriously, fuck everything about front-end development now.
7
u/beavis07 Dec 11 '18
I think your problem here is that the makers of these framework’s goals (making a framework that solves a problem) and your own (being suitably employable) are not even really tangentially related.
Seriously though - if all you know is how to use frameworks, then you’ll be trapped in this cycle. They’re just tools after all - infinitely replaceable.
6
u/WoollyMittens Dec 11 '18
Maybe just put a general knowledge of "MVC frameworks and state machines" in your resume, instead of chasing the tail of the dragon.
5
Dec 11 '18
What the hell is going on?
The great battle between imperative programming and declarative programming.
3
3
Dec 12 '18
I actually built a goddamn website in jQuery + Bootstrap almost a year ago and for fuck's sake let me tell you what made me switch to React + Material UI a couple months ago.
jQuery sucks shit once you have a lot of moving parts in a single page.
jQuery sucks when you're making an SPA.
jQuery is shit when you benchmark it.
jQuery is visibly shit when low-end devices are a decent fraction of your end-users.
jQuery is shit when working with teams. Everyone got their own approach from different stackoverflow posts, in React everyone's code ends up almost the same as written in the docs.
You see it's not really about me or how fast I can do something, it's more about how effective it becomes when the project scales, when multiple people are now working on it, and also when you wanna consider performance at the same time.
Did you know you can build all this stuff in plain JavaScript and it will be much more maintainable and futureproof?
Oh yeah if that was true, companies like Facebook would've not have to craft things like React.
I think we need to collectively learn how to build a proper, maintainable, micro framework per application in plain JavaScript.
Sounds fancy but fuck your ideals.
2
u/wherediditrun Dec 11 '18
If you are good with core spec it doesnt really matter what framework. You read the docs an get at it. Frameworks don't reinvent the language itself.
Not to mention that your cursed React doesnt really introduce new concepts.
That being said if your 'seniority' constitutes from 5 year iteration of jQuery in repeating 1 year five times, without ever learning actual JS you'll have a hard time.
1
1
u/Smiral Dec 11 '18
While it is a bit much sometimes, a lot if it is just people getting wrapped up in trendy stuff. You can safely cut through all that, if you try. I am not anti-React, but it is a sort of splintered sea of libraries, and the state management stuff is undeniably over-engineered.
1
u/dom_optimus_maximus Dec 12 '18
If you have a really solid understanding of functional JavaScript and know how to think in the async environment that is the web, you will never struggle to find a job because of framework churn. It is all the same damn thing. Jquery’s $q, Angular http, then rxjs piping it all like a boss, node wrapped in blue bird, async await, you got data that needs to be passed in an asynchronous chain from A to B. The sugar will come and go and change flavor but the pattern and principles are the same.
-2
u/everythingiscausal Dec 11 '18
JS frameworks are mostly fads. You don’t need to follow every fad.
I’m still using jQuery as my primary ‘framework’. Yes, it’s old, but I’m not in a hurry to replace it, because it still works. Eventually I’ll move to React or something, but I’ll make sure whatever I move to is mature before I bother with it.
0
Dec 11 '18
[deleted]
-7
u/n9jd34x04l151ho4 Dec 11 '18
I'm guessing you've never worked on a large team or massive codebase.
I guess the team is about 10 people and the code base is quite large.
If you're doing agency work, you probably can get by using just vanilla js.
I can't imagine the work for an agency that needs to keep all these separate websites up-to-date with the latest breaking changes from Facebook.
However, when you work in a codebase of hundreds of apps, with a team of hundreds of developers, you need abstraction.
Can you name some company/companies with hundreds of useful apps with hundreds of developers?
You can't manually push divs around anymore because it's just way too inefficient and repetitive.
Who says I was manually pushing divs around? From what I've seen, React architecture is a complete mess by mixing in CSS, HTML and JavaScript all into the JavaScript files, calling that a component, then that calling other components in some Mikado game of components which somehow make a "maintainable" app/site.
I'm not sure why you're so stuck on calling yourself "senior", because honestly, from what you've described, it sounds like you don't have a ton of experience beyond simple jquery-type frontend work
Maybe if you got off your high horse, you'd realise you don't need all this "abstraction" to make a useful app/website.
3
u/oldforestroad17 Dec 12 '18
You aren't a senior dev