-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where is the builder pattern described in the book? #1818
Comments
Yes, we decided to take Chapter 17 in a different direction, and we don't have plans to add it back at this point. There are a LOT of patterns we could have covered but we don't have room to discuss them all-- please see the rust-unofficial/patterns repo for documentation on them. Thanks! |
I understand why you wouldn't want to list all design patterns, but I think the builder pattern is special in rust; it is referenced a lot, and rust has its own idiomatic way of using it. There needs to be a more official place for it than rust-unofficial. |
There is an explanantion under Type Safety of the api guidelines. |
I'm a bit concerned about that too, I came across that page (and the API guidelines) for the first time last week. When trying to find it again today I landed here , I thought that link might help others find it. I think there could be more cross linking between the books. |
For what it's worth, I opened a new issue regarding documentation here. |
Rust references the 'builder pattern' in a number of locations, so I decided to see what the book had to say about it. As near as I can tell, it isn't described in the current edition. The only reference I found was via google to the 1.0.0 docs, and a couple of closed bug reports (1 and 2) saying that it was being worked into Chapter 17, but other than that, nothing. Did it get lost somewhere?
The text was updated successfully, but these errors were encountered: