r/javascript • • May 08 '19

Hands down the best presentation I've ever seen over JavaScript Bundlers/Module system

https://youtu.be/WGlT921ixx4
412 Upvotes

19 comments sorted by

4

u/GhostGo May 08 '19

How many presentations on javascript bundlers/module system have you seen?

11

u/[deleted] May 08 '19

I would say there's probably between 10-20 of these on the web. It's just such a hard topic to present over since that part of JS history happened so fast. Either you were in the middle of it and understood what was going on, or you looked at it like a black box(magic) and never looked back. Most talks I've seen either go over the module systems at a high level or authors talking about their bundler tool. Prior to seeing this presentation, this https://youtu.be/Jgp-RAVsSAw had been the best module system presentation I'd seen. It was a great presentation, it just didn't have the same effect on me as this one. After I finished watching Luciano's video, I was like, "Damn I completely understand how this shit works now."

Pro tip on how to find gem videos:

Clone repo of popular library -> Scroll down to first commit -> Get original author's name -> Google name -> Hit "Videos" tab

8

u/paulqq May 08 '19

hail node 12 --experimental-modules

11

u/beau6183 May 08 '19 edited May 08 '19
$ hail node 12 --experimental-modules
-bash: hail: command not found
$ brew install hail
Error: No available formula with the name "hail" 
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
$ 

Well I tried.

1

u/paulqq May 09 '19

ROFL. You tried 😉😀😀

18

u/Investisseur May 08 '19

TLDR?

22

u/themalteseburglar May 08 '19

It's a nice overview of the evolution of javascript modules up to today, explaining what they are, why they are needed, how they have been implemented and imported in the past (with pros/cons) and briefly how to use them today with webpack.

-15

u/i_ate_god May 08 '19

aka:

Why a standard feature of all programming languages proved to be a huge pain in the ass for developers because our users couldn't be bothered with installers anymore :(

15

u/artyhedgehog May 08 '19

- There weren't any dependencies managers in js - here is how we could make a bundle...

- We actually want a module for each dependency - here is how we create it...

- Then there are lots of dependencies managers - here is how they work...

- Here is how you can build a module bundler, so that all those dependencies work in any browser...

- But wait, there is already webpack - here is how you can use it and what it can do...

2

u/tresclow May 09 '19

TLDW

FTFY

3

u/murimuffin May 08 '19

I love how this guy says jGuiri. Amazing talk!

7

u/loigiani May 08 '19

And you didn't hear me saying "scenario" and "scaffolding"... Trust me, my native English speaking colleagues are still laughing 😋

2

u/[deleted] May 09 '19

That's him!!!! his italian accent >>>>>>>>>>

Btw, amazing talk!

5

u/dance2die May 08 '19

Oh noes. Someone probably misunderstood "hands down" and downvoted the video...

https://imgur.com/a/zcfu4st

2

u/[deleted] May 08 '19

Fantastic video, thanks for sharing!

1

u/rashnull May 08 '19

So many “dodoos” to “poop” out!

0

u/[deleted] May 08 '19

[deleted]

4

u/[deleted] May 08 '19

When it comes to JS, Dont ever feel bad for not knowing something. 95% of JS developers say they know something, but only 5% can actually explain it.

0

u/[deleted] May 08 '19

[deleted]