Log in
Sign up
See new Tweets

Conversation

Reed Mullanix
@totbwf
·
Dec 10, 2021
For some reason I have an irrational hatred for calling modules "util" and I don't know why
7
18
Brendan Zabarauskas
@brendanzab
Replying to
@totbwf
It ends up being a dumping ground of stuff. Rust had a `util` module in the std back in the day and it was removed (thankfully):
github.com
Get rid of the `std::util` module · Issue #7556 · rust-lang/rust
Having a util namespace is an anti-pattern. Go through all the remaining types and functions in std::util and either move them to std::prelude or delete them outright. 15:28 < bstrie>...
11:04 PM · Dec 10, 2021·Twitter Web App
3
Likes