Elixir Mix cover image

A Thing or Two About Union Types - EMx 194

Elixir Mix

CHAPTER

Is There a Need for Documentation?

For me, it was mostly the scenario of actually wanting to model different cases of a thing. Like I'm coming back to an example earlier with games and also having potentially different properties for that. And yeah, I could have a two-pole with like steam atom, but then again, like nobody would stop me from having a typo, which says, zeme. Okay, I want a bit more guarantees by the compiler.

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.
App store bannerPlay store banner