3 ms·
Early Rust had ~ and @ references.
by panzi 1mo ago
Early Rust had ~ and @ references.
- a2ff6eeb0 1mo agoWhich, IMO, read nicer than words and ::s drowning out names.
- allthetime 1mo agoCustom syntax highlighting / theming to emphasize names vs. qualifiers is very helpful.
- panzi 1mo agoI'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.