Explore the concept of creating more robust and maintainable JavaScript programs through language restrictions in this 33-minute JSConf talk. Dive into the story of "assumption" meeting a "magic hat," and learn about Assert and restrict mode as key players in improving code quality. Discover how carefully limiting JavaScript usage can lead to easier-to-reason-about and more enjoyable programming experiences. Gain insights into topics such as correct code practices, common coding mistakes, the relationship between assumptions and reality, and the benefits of using assertions. Examine "assumption jammers" and the intriguing "plus case" while potentially getting a glimpse into JSShaper, the environment where these concepts thrive.
Overview
Syllabus
Intro
Correct code
Coding mistakes
Assumptions and reality
assert
benefits
assumption jammers
the plus case
Taught by
JSConf