Hacker News new | ask | show | jobs
by a2ff6eeb0 105 days ago
Which, IMO, read nicer than words and ::s drowning out names.
2 comments

I'm not really against such special symbols, only if they are too much, like in Perl.

~ and @ weren't replaced by anything with ::, though, ~Foo is Box<Foo> and @Foo is Rc<Foo> (or is it Arc<Foo>?). :: to access a member of a module already existed when ~ and @ was in Rust.

Custom syntax highlighting / theming to emphasize names vs. qualifiers is very helpful.