YouTube15 Jun 2024
54m

Please Stop Patching Globals

Podcast cover

Theo - t3․gg

This podcast episode delves into the controversy and challenges surrounding the patching of global variables in web development. The conversation explores the drawbacks of patching globals, such as the potential harm to APIs and the difficulties in maintaining and debugging. It discusses the importance of cross-environment compatibility, predictability in engineering, and the need for good developer tools. The speakers highlight the impact of convenience libraries and the value of finding alternatives to patching globals. They advocate for explicit and well-thought-out approaches to API problems, proposing solutions like proxies. The section concludes with the significance of consistent results, explicit design, and improved education and tooling in web development.

Outlines

Sign in to continue reading, translating and more.

Open full episode in Podwise