
API Evolution Without Versioning with Brandon Byars
The InfoQ Podcast
00:00
JavaScript Refactoring - Upcasting
Mountie brings history and the implementation logic for this is more complex. The challenge is I needed the code to work for the consumers who passed in both the new interface and the old interface. So that code had to be sprinkled. It's a little bit harder to manage downcasting. If you want to inspect the function definition, they can tap into those other parameters but they have no need to. That's just there for backwards compatibility purposes.
Transcript
Play full episode