Cheng Lou - On the Spectrum of Abstraction at react-europe 2016

Channel:ReactEurope · Length:35:31 · Published:2016-06-05 · Views:63425

Watch on YouTube

Summary

Cheng Lou's react-europe 2016 talk lays out a mental framework for thinking about abstraction levels in JavaScript tooling, from Angular and Grunt to Webpack and React. It uses that framework to reason about the cost of abstractions and how to choose between competing solutions.

Why HN recommends it

HN points to it as thought-provoking material on the tradeoffs and costs of abstraction, especially in frontend tooling debates.

This talk is incredible food for thought — HN, 2017

Web development · Software architecture & design

Subtitles (excerpt)

so this morning I actually checked on the react motion repository and it has officially crossed 5,000 stars all right thank you this was open source almost exactly a year ago at this very conference and um I just want to thank all the contributors all the 44 contributors on the repository and all the countless number of people using it in in production and this is a project I'm very proud of thanks and uh also apparently it's on the mug now you have a Redux and you have react motion afterwards so uh you know guess guess we made it right we made it on the mug pretty cool that just wasted one minute um let's start for real today there's no cool demos uh there is no library to present there is no um other nice things I I want to concrete um JavaScript code that I want to show you so today is instead of of that I want to talk about something that's been very close to my heart and I've been using JavaScript for a long time and as a matter of fact I've started using JavaScript when I even when I didn't even speak English what I did was I was literally copy pasting until the braces and I I was like this is a relevant snippet of whatever that code is when I was young and whoa this is lagging but all

On Hacker News

This talk is incredible food for thought: On the spectrum of abstraction by Cheng Lou (react-europe 2016) [1] If you've read some of the classics, such as Structure and Interpretation of Computer Programs (1979, Gerald Jay Sussman and Hal Abelson) [2], this talk is a really interesting look at the state of affairs on abstraction circa 2016. [1]: [VIDEO] [2]: [LINK] — K0SM0S, 2017-03
I know, this isn't a novel concept. There was a good talk about the spectrum of abstractions and the tradeoffs of template languages vs React's approach at React Europe a couple of years ago (in fact, he goes into that this means there are some optimizations that are simply unavailable to React): [VIDEO] The question isn't whether DSLs or "just JS" are more powerful, the question is which tradeof… — hnbad, 2022-10
React is more like 'Lambda the Ultimate Web Component'. A component is almost a function returns element. Expanding a component is like calling a function and give it the property. So you can have some abstract common behavior in HOC f and g, then you can have HOC `h = compose(f(g))`. A quick comparison with Angular: @Component({template, style}) seems composable if we stretch a lot. But why make… — namelosw, 2019-05
The spectrum of abstraction: [VIDEO] This is an high level talk. it guides on how to choose between competing solutions to a problem when the commonly accepted answer is "it depends" — rk06, 2018-04
For a more visual explanation of the "cost of abstractions" watch this presentation by Cheng Lou (Facebook). [VIDEO] — Rygu, 2016-09

Related videos