There was actually a debate about doing this before 1.0, but it’s surely too late to consider changing the convention now.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Poll: `Foo::new()` vs `Foo()` as the default constructor | 39 | 9655 | March 25, 2019 | |
An alias for `Arc<Mutex<T>>`? | 2 | 1172 | March 25, 2019 | |
Struct-syntax | 21 | 1764 | November 30, 2021 | |
Lazy_static! native | 5 | 494 | May 23, 2024 | |
Rewritten proposal about `_::Variant` | 16 | 742 | August 22, 2024 |