|
|
|
|
|
by Timon3
429 days ago
|
|
What's the big difference between `unsafe` and `as` regarding explicit labelling? Both are opt-in and explicit. As the user of a function, you don't see either from the outside. If you don't like `as`, it's fine to use a linter to disallow it. |
|
Grepping a real world codebase that would not be `unsafe` in Rust:
and on it goes. Typescript normalizes unsafe behavior.