Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mre
on Aug 1, 2024
|
parent
|
context
|
favorite
| on:
Don't Use Preludes and Globs
Author here. Thanks for posting. Just to clarify, there are some cases where globs make sense, e.g. for importing types in tests:
struct Foo; struct Bar; mod tests { use super::*; }
Apart from that, I use globs very rarely.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: