r/learnjavascript • • Oct 19 '20

Modern Javascript for dinosaurs

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

A few months ago I tried starting learning modern Javascript and web development, after not having touched it since the jQuery days. At first I was quite bewildered by all the new tools: webpack, grunt, Babel... Right now I understand pretty much everything, but this post is exactly what I would have needed months ago, so in the interest of sharing and helping other oldtimers...

EDIT: just to clarify, I am NOT the author of this article. I just found it today while browsing around and thought to myself "why couldn't I have found this four months ago?"

134 Upvotes

16 comments sorted by

63

u/Protean_Protein Oct 19 '20

A few months ago I tried starting learning modern Javascript... Right now I understand pretty much everything.

One of those statements is wildly inaccurate.

12

u/wilecoyote42 Oct 19 '20

[insert crying while laughing emoji here] In context, I meant "everything discussed in the article", or rather "everything related to all this newfangled stuff that wasn't here the last time I touched JS". In other words: now I know (more or less) why people use Webpack, what that package.json file is for, what's the point of using Babel, etc. So I guess now I can *actually* start learning.

22

u/pixelito_ Oct 19 '20

A few months ago I started learning JavaScript and I understand pretty much nothing.

4

u/[deleted] Oct 20 '20

I want that level of confidence. I'm trying to read the ECMAScript specification and learning new things everyday.

4

u/gigastack Oct 20 '20

Yeah, I work in JavaScript a LOT, do full stack with Node and React professionally, I've done my own vanilla framework, a game client, an Electron app, webpack work, etc. I would not say I know everything. The ecosystem is massive.

1

u/[deleted] Oct 20 '20

The best programmers I know are full of doubts

6

u/SoBoredAtWork Oct 19 '20

FYI - moment.js is done with. They've shut down the project and recommend alternatives like date-fns. Maybe it's not a great idea to promote a dead project in your article :)

https://momentjs.com/docs/#/-project-status/

4

u/wilecoyote42 Oct 19 '20

It's not my article, FYI. It's something I found browsing around today.

2

u/SoBoredAtWork Oct 19 '20

Ah, gotcha. You're off the hook then.

2

u/realspiderwater Oct 19 '20

Great article for beginner like me.

2

u/jaymcdan Oct 20 '20

Thanks for this! I think it's one of the most helpful articles about this stuff I've seen in a long time. As a dinosaur myself, I've definitely had my share of struggles with evolving bundlers and task runners (and code-breaking dependency upgrade hell). My advice to people just starting out, is to not get too intimidated with this "modern" JS environment stuff, and to start with an HTML file, a .js file and a browser, and see what you can create. Thankfully the browsers have caught up a lot with modern syntax, so most of the pros to bundling etc. are production concerns, not things to worry about when getting your feet wet.

2

u/Chronic_Writing Oct 20 '20

Thanks for sharing and to the writer for this article. All these people in the comments telling you off probably don't know how more than half the things don't make sense for beginners as the things have changed too fast, and this article makes a lot of sense to someone getting started in the field of javascript.

There are a lot of courses and a lot of books teaching JS but no instructor out there provides a comprehensive broad explanation of why so many things exists, and why these were needed in the first place. This article brings everything together in an easy to understand manner and provides a lot of context for beginners, which I am .

1

u/Ratatoski Oct 19 '20

Nice article. I went to uni in 90s/00s and I've had to learn a lot of new stuff being a frontend developer with a modern stack.

1

u/kerbal178 Oct 21 '20

I’d bookmark this to read later, but - as a dinosaur who learned DHTML (and no, the d is not for dinosaur!) - it will likely be obsolete before I need to brush up on front-end again.

1

u/bigjoeystud Oct 19 '20

Great article! Thanks for sharing. I knew most of the things, but it’s nice to see all this history in one place.

-1

u/xintox2 Oct 20 '20

stopped reading when i saw you recommend moment