3 ms·
This seems like a reasonable list of things a reasonable person might have grievances about. With these types posts in general, keep in mind that they are "per
by eminence32 4y ago
This seems like a reasonable list of things a reasonable person might have grievances about.
With these types posts in general, keep in mind that they are "personal lists" -- meaning that other people might feel differently, and that's OK.
The context of the tweet that motivated this was "how can things be improved", and lists like this help (if not for rust, then for whatever comes after rust).
To pick one thing (mostly at random) to comment on:
> It might have been better to call `unsafe` blocks `trusted` blocks.
This is a thought I've often had myself. The name `unsafe` is not wrong, per-se, but it can sometimes have the wrong connotation
- bjz_ 4y agoThanks for reminding people! > This is a thought I've often had myself. The name `unsafe` is not wrong, per-se, but it can sometimes have the wrong connotation Yeah, this is one of the many things on this list that isn't a new idea, see this RFC from June 2014: https://github.com/rust-lang/rfcs/pull/117 https://github.com/rust-lang/rfcs/pull/117. I believe D has a `@trusted` attribute at the function level that serves a similar purpose.
- pornel 4y agoThe unsafe blocks should have been hold_my_beer { … }