Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dmkolobov
4 days ago
|
parent
|
context
|
favorite
| on:
Weird Expressions in Rust
On the more mainstream side of things, Typescript also has a bottom type called `never` which is used to type unreachable/exceptional code.
saghm
4 days ago
[–]
Rust has this too:
https://doc.rust-lang.org/std/primitive.never.html
reply
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: