URL to the section(s) of the book with this problem:
https://doc.rust-lang.org/book/ch12-03-improving-error-handling-and-modularity.html
Note: Using primitive values when a complex type would be more appropriate is an anti-pattern known as primitive obsession.
Description of the problem:
These are judgmental terms that contradict the overall tone and message of the book. Googling this phrase does not lead to practical advice about when to create domain-specific types in Rust, but does raise the emotional stakes by revealing equally judgmental jargon that some programmers use when arguing against creating new types.
Suggested fix:
Remove the quoted sentence.
mainbranch to see if this has already been fixedURL to the section(s) of the book with this problem:
https://doc.rust-lang.org/book/ch12-03-improving-error-handling-and-modularity.html
Description of the problem:
These are judgmental terms that contradict the overall tone and message of the book. Googling this phrase does not lead to practical advice about when to create domain-specific types in Rust, but does raise the emotional stakes by revealing equally judgmental jargon that some programmers use when arguing against creating new types.
Suggested fix:
Remove the quoted sentence.