Syntax - Tasty Web Development Treats

Polyfills, Transpiling and Monkey Patching

5 snips
Jul 26, 2023
Dive into the world of web development with insights on polyfills, transpiling, and monkey patching. Learn how to navigate modern JavaScript and CSS for better compatibility across browsers. The hosts share tools like Babel and TypeScript, along with practical coding techniques for implementing features like popovers. They also discuss the importance of smart home gadgets such as air purifiers and tips for effective cable management to enhance your workspace's look and functionality.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Compiling vs. Transpiling

  • Compiling transforms one source language into a target language.
  • Transpiling translates between high-level languages (e.g., TypeScript to JavaScript).
ADVICE

Transpiling Cautions

  • Transpile features with stable syntax; avoid experimental ones.
  • Decorators, while appealing, have been unstable for years.
ANECDOTE

TypeScript Decorator Confusion

  • TypeScript implemented decorators, then re-implemented ECMAScript decorators.
  • This created two ways to do decorators, causing some frustration.
Get the Snipd Podcast app to discover more snips from this episode
Get the app