Back to 2021 Agenda

Stringly-Typed to Strongly-Typed with TypeScript

🕓 9:50 AM - 10:35 AM📍 M6
Stringly-typed code. It lurks inside quotation marks in source code, opaque to most to IDE tools, waiting for the unwary developer to rename or refactor something in their codebase. Everything builds and the app is deployed, only to throw runtime errors about references to non-existing HTTP endpoints, CSS classes, database tables, or asset files. In this talk, we'll look at the dangers of stringly-typed code. We'll see how it saps confidence in code changes, making codebases brittle. We'll look for solutions to these issues, using TypeScript to turn opaque strings into well-checked values that can be refactored with confidence.
Troy GerwienTroy Gerwien

It’s such a privilege to be able to run this conference and DDD Perth would love to acknowledge the traditional custodians of the land in which DDD is created, presented, and shared, the Whadjuk people of the Noongar Nation and their connections to land, sea and community. We pay our respect to their Elders past, present and emerging, and extend that respect to all Aboriginal and Torres Strait Islander peoples today.