Appendix 1Transpiling to JavaScript
Front-end development is gaining momentum, and there’s an increasing demand for full-stack developers. JavaScript has evolved significantly in recent years, but it’s a dynamically typed language and also a weakly typed language—--see Rediscovering JavaScript [Sub18]. In recent years, some programmers have gravitated toward statically typed languages, for example TypeScript, that will transpile to JavaScript. Statically typed languages can help find errors early, during compile time, and remove certain problems that may creep up during runtime if the code was written directly in JavaScript.
Languages like TypeScript offer static typing, but languages like Kotlin bring in that and a lot more. If you’re going ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access