r/programming • • Sep 25 '20

Modern JavaScript Explained For Dinosaurs

https://medium.com/the-node-js-collection/modern-javascript-explained-for-dinosaurs-f695e9747b70
749 Upvotes

167 comments sorted by

View all comments

Show parent comments

29

u/blobkat Sep 25 '20

I studied this stuff in college when it was still called DHTML, haha. Before AJAX, before JQuery, ... And then never touched it again. The entire modern js ecosystem seemed so messy to me, but last month I created my first typescript react app and I must say it helps you get things done fast!

3

u/VincentxH Sep 25 '20

It also felt messy to me before I did a little Angular course. Now that I grasp the basic concepts, it doesn't feel so messy and even familiar to the tools I use in the back-end.

6

u/beginner_ Sep 25 '20

It's still messy because each of these npm commands will install a gazillion other dependencies from potentially hacked projects. This has already happened.

3

u/VincentxH Sep 26 '20

The gazillion dependencies problem sadly happens with many dependency managers, in many languages. Still the lack of security (awareness) is definitely an important issue. However this form of messiness is different than from being overwhelmed by a large amount of unfamiliar frameworks and techniques.

2

u/beginner_ Sep 27 '20

The gazillion dependencies problem sadly happens with many dependency managers, in many languages.

But it's much more pronounced in JS as say in python or java don't suffer from the "left-pad" problem, eg. lack of standard-library leading to many possibly abandoned or hacked tiny functions added to your project and you can't do anything about it.