Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: