
My Contribution to the Left-Pad Incident with Simon Lydell
Software Unscripted
The Advantages of Making Elm Opacity
In Elm, the types are nominal. Based on their name, even if someone else creates a type also called caller, that's going to be a different type. Another point of not allowing subdependencies of packages is maybe if you want to share a type between different packages,. In Elm, there's a caller package that the idea of the package is that different other packages should be able to all use the same color type so they can work together easily.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.