Note: When implementing Default for a type, it is neither required nor recommended to also provide an associated function new without arguments.
Which contradicts the official API guidelines there:
Note that it is common and expected for types to implement both Default and an empty new constructor. new is the constructor convention in Rust, and users expect it to exist, so if it is reasonable for the basic constructor to take no arguments, then it should, even if it is functionally identical to default.
Hi,
The unofficial patterns book says here:
Which contradicts the official API guidelines there: