javascript type syntax proposal overview - bringing typescript types to javascript, good or bad?

Publicado el: 21 marzo 2022
en el canal de: Chris Hay
809
21

in this video chris explores the new javascript types proposal where typescript types are proposed to be made part of the ECMAscript standard and become part of the javascript language. The most requested feature of the JavaScript state of JS survey is being proposed to TC39 for consideration to become part of the JavaScript standard. The question is.. is static types a good thing for JavaScript? Do we really live in a world of evergreen browsers and can a build step be truly skipped and could this be supported without transpiling

not only do we explore the proposal, chris gives a brief tutorial of typescript types and how typescript files are converted to javascript. we then look at what TS types are and how that would work in Javascript and how that compares to JSDoc comments. Finally we explore if bringing ts types to js would really eliminate build steps in the near future by looking at the browser versions used across the world.

00:00 - introduction
00:40 - type syntax proposal overview
01:54 - typescript types vs JavaScript
11:40 - optional types
15:10 - types as comments
15:57 - JSDoc comments
21:15 - JavaScript State of JS
23:20 - Evergreen browsers
24:45 - Browser Version Statistics
30:00 - African browser version stats
37:00 - We're still transpiling to commonjs today
39:00 - Pros and Cons


En esta página del sitio puede ver el video en línea javascript type syntax proposal overview - bringing typescript types to javascript, good or bad? de Duración online en buena calidad , que subió el usuario Chris Hay 21 marzo 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 809 veces y le gustó 21 a los espectadores. Disfruta viendo!