ErrorScript: Building a TypeScript Feature That Should (Probably) Be Rejected

Presentation byJames Haworth Wheatman

I built ErrorScript: TypeScript with "Safe" Exceptions. Unhandled exceptions and dropped promises become part of the type system and raise compile-time errors.

It works. It feels native. And it probably shouldn’t exist.

This talk explores what ErrorScript reveals about how we model failure in code, how language design influences behaviour, and the trade-offs that make this feature unlikely to be adopted.

Presented with these Guilds
Cover Photo for JavaScript Monthly London Meetup
Primary Photo for JavaScript Monthly London Meetup

JavaScript Monthly London Meetup

Javascript evolution has sped up (a lot) in recent years and event the most veterans developers find it hard to keep up with the latest trends. This meetup group aims to bring you monthly bite-sized updates on the world of Javascript along with a healthy dose of nice people, beer and pizza.

  • Please use your full name when registering, as some of our venues require a full list of attendees beforehand. You have an idea and you want to be a speaker?

We are always looking for more speakers - submit your talk here (https://docs.google.com/forms/d/e/1FAIpQLSdFaatfveOUbrmer47jYb5J4J4ttxAFc1CgTjUDltBXmDOJmg/viewform)

1.2KMembers
Similar Presentations

ErrorScript: Building a TypeScript Feature That Should (Probably) Be Rejected

Presentation byJames Haworth Wheatman

I built ErrorScript: TypeScript with "Safe" Exceptions. Unhandled exceptions and dropped promises become part of the type system and raise compile-time errors.

It works. It feels native. And it probably shouldn’t exist.

This talk explores what ErrorScript reveals about how we model failure in code, how language design influences behaviour, and the trade-offs that make this feature unlikely to be adopted.

Presented with these Guilds
Cover Photo for JavaScript Monthly London Meetup
Primary Photo for JavaScript Monthly London Meetup

JavaScript Monthly London Meetup

Javascript evolution has sped up (a lot) in recent years and event the most veterans developers find it hard to keep up with the latest trends. This meetup group aims to bring you monthly bite-sized updates on the world of Javascript along with a healthy dose of nice people, beer and pizza.

  • Please use your full name when registering, as some of our venues require a full list of attendees beforehand. You have an idea and you want to be a speaker?

We are always looking for more speakers - submit your talk here (https://docs.google.com/forms/d/e/1FAIpQLSdFaatfveOUbrmer47jYb5J4J4ttxAFc1CgTjUDltBXmDOJmg/viewform)

1.2KMembers
Similar Presentations