Skip to content

"intermediate docs" planning #8

@QuietMisdreavus

Description

@QuietMisdreavus

As part of #4, i'd like to start narrowing the possible ideas (or possible source better ones) for the "intermediate docs" goal. It's a fairly broad idea with a lot of possible applications, so i want to start trimming it down a little.

This is my earlier long-form discussion about this. Here's the key list from that (plus suggestions from farther discussion):

  • Small-form idioms and large-form design patterns
    • The former can be kinda sourced from clippy, possibly other informal/totally-oral style guides in e.g. the compiler or servo
    • A possible inspiration from other languages includes the Go compiler's Code Review Guidelines, full of little tips
    • The latter can kinda start from https://github.com/rust-unofficial/patterns, but needs to be extended from lessons from e.g. the compiler, servo, production users
    • The book The Architecture of Open-Source Applications could also serve as an inspiration for broader design patterns, to say nothing about dedicated "design pattern books", as long as we can also give a good example of how the ones we describe do/don't apply to Rust
    • Possible idea: survey some set of popular crates (the playground set?), sort for the smaller ones and pick out ones that would make good demo cases
  • Dark-corner language features
    • nomicon
    • The Little Book of Rust Macros
    • Rust FFI Omnibus
  • Long-form guides of how to integrate large libraries (think tokio) into a larger application, or just for their general use
  • Focused "survey the field" guides around a given area, e.g. concurrency, embedded, etc
    • Could try to link up with the 2018 top-level working groups to source their work

What i'm looking for at this point, rather than strictly more ideas, is some kind of consensus as to what we should focus on. Much of this requires that we work with other teams or maintainers, so being able to focus that work (rather than trying to do everything all at once) would be helpful. For example, if we decide to create docs to help with the 2018 focus areas, then planting ourselves within those working groups early will help a lot in the long run. Likewise, focusing on idioms and design patterns may lead to talking to core and/or community teams to talk with major/production users to get a sense of the lessons they had to face on a more technical level.

If anyone wants to claim or assist a topic, please let us know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions