On Lobsters
- Score
- 14
- Comments
- 4
- Submitted by
- nutmeg
- Tags
- plt
- Site
- tibleiz.net
Story details from Lobsters ↗ · linked article on tibleiz.net.
Trending history
Union Types and Option Types was first seen on Lobsters · Hottest on Nov 2, 2026. Since then it has appeared in 50 checks on 2 different days. Its best position was #13 of 25, reached on Nov 2, 19:51 UTC. It dropped off the list after Nov 3, 13:51 UTC. The same link also trended on Hacker News, which raises its cross-platform score.
Rank history
Position on Lobsters · Hottest at every check (lower is better).
Last 14 days
Best rank per day (UTC).
Metric history
Platform metric as reported by Lobsters.
Where it trended
| List | Best | Days | Checks | Last seen |
|---|---|---|---|---|
| Lobsters · Hottest | #13 | 2 | 50 | |
| YHacker News · Front page Union Types and Option Types | same link | |||
From the discussion
A few top-level comments from Lobsters, shortened. Read the full thread on Lobsters.
I have nothing of significance to add other than that I really like this: > `var file = File.open(filename)...` > it just picks the first type of an union, Error|File in the example above. I wish Zig had gone with it instead of a special case magic integer machine.
Yes. I think union types work OK for option and maybe result types, with some built-in language features (syntax sugar). Sum types with separate names (tags) and payloads seem to work better for anything more complex or programmable by the user. There's a nice duality between structs (products) with named fields and…
If you don't have nested unions and option types are sugar for `| Nothing`, do yon also not have options of options?
Featured in
Archived daily, weekly and monthly lists that include this entry.
Lobsters 2 days, best #13
Questions
Is Union Types and Option Types trending on Lobsters right now?
Not at the moment. It was last on the list on Nov 3, 13:51 UTC, after 2 days of trending.
What is the highest rank Union Types and Option Types reached?
#13 on Lobsters · Hottest, on Nov 2, 19:51 UTC. Trendoday checks this list every 30 minutes.
How long has Union Types and Option Types been trending?
It was first seen on Nov 2, 2026 and has been on the list on 2 days (50 checks) since.