Discriminated union is a fancy way of saying an enum or a type that can only be one of a fixed set of values. It's like the ultimate commitment-phobe of data types - it wants to keep its options open, but only within a strict set of predefined choices.
"I tried to store a string in a discriminated union that only accepts integers, but it looked at me like I was trying to pay with Bitcoin at a lemonade stand."
"When the new hire asked why we were using a discriminated union instead of a simple enum, the lead engineer just sighed and muttered something about 'type safety' and 'functional programming hipsters'."
Born for it: This article explores the origins of the stereotypical socially-awkward, white, male programmer image and whether it evolved naturally or was shaped by societal perceptions. Read more
Alienating Atmosphere: The tech community faces a troubling diversity imbalance, and while some issues like discouraging girls from STEM subjects are long-term problems, the alienating atmosphere within the tech community is a factor that can be addressed directly. Read more
Diversity Imbalance: The software development world has serious issues with diversity, with noticeable differences in gender and race proportions compared to the general population. This article explores why such imbalances exist and whether they matter. Read more
Note: the Developer Dictionary is in Beta. Please direct feedback to skye@statsig.com.