Add cookbooks, examples and patterns

This commit is contained in:
Aaron Turon 2017-01-05 09:37:29 -08:00
parent 4f40ba07f2
commit c59aa270f0
1 changed files with 8 additions and 0 deletions

View File

@ -212,6 +212,14 @@ Here are some strategies we might take to lower the learning curve:
in the works. The effort is laser-focused on the key areas that trip people up
today (ownership, modules, strings, errors).
- **Gathering cookbooks, examples, and patterns**. One way to quickly get
productive in a language is to work from a large set of examples and
known-good patterns that can guide your early work. As a community, we could
push crates to include more substantial example code snippets, and organize
efforts around design patterns and cookbooks. (See
[the commentary on the RFC thread](https://github.com/rust-lang/rfcs/pull/1774#issuecomment-269359228)
for much more detail.)
- **Improved errors**. We've already made some
[big strides](https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html)
here, particularly for ownership-related errors, but there's surely more room