Re:Swift is a more convenient Rust
by nielsbot on Sunday February 01, 2026 @04:46AM
(#46844886)
I guess I just want to be able to do something like this in Swift:
There's one more thing about TypeScript-style union types: string literals. I think it's great to be able to do
And subsequently I could use
I think this is more programmer friendly than requiring an out-of-line definition of a new `enum`. Sometimes you just want to write some code, you know?
[ Parent
| on HN ]
There are no comments on this comment yet.