JSFoo 2020

JSFoo 2020

On JavaScript in the enterprise; JS for advanced developers and architects

Rob Richardson

@robrich

JavaScript the Grumpy Parts

Submitted Jun 20, 2020

We love JavaScript, but we must admit: it’s weird. Why does this behave as it does? How does variable scope work? Why do we have such comical behavior when comparing mixed types? Let’s pull back the covers of these scenarios, and learn how it truly works. You may find a new reason to fall in love with JavaScript.

Outline

After a brief look at the 2-phase JavaScript compiler, we look at examples of code, infer what’s going to happen, then think like the compiler to see how we did. We look at defining (and not defining) variables at various scopes, we look at this and how to control it with apply, bind, and =>, we look at interop between async/await and promises, and we look at the Node event loop. This is definitely a deep dive into the innards of JavaScript. Attendees leave with a newfound appreciation of JavaScript and much less frustration at the weird quirks. Here’s a review: https://twitter.com/jdanylko/status/1215385548480811009

Requirements

none

Speaker bio

Rob Richardson is a software craftsman building web properties in ASP.NET and Node, React and Vue. He’s a Microsoft MVP, published author, frequent speaker at conferences, user groups, and community events, and a diligent teacher and student of high quality software development. You can find this and other talks on https://robrich.org/presentations and follow him on twitter at @rob_rich.

Slides

https://robrich.org/slides/javascript-grumpy-parts/#/

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more