Skip to content
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

Style guide #2

Open
joelwross opened this issue May 31, 2017 · 2 comments
Open

Style guide #2

joelwross opened this issue May 31, 2017 · 2 comments

Comments

@joelwross
Copy link
Contributor

joelwross commented May 31, 2017

Standardize language and writing style, as well as text formatting:

(Joel's notes 05/31):

  • When to use bootstrap alerts as callouts?
  • Favor "programming" over "coding"
  • Use of pronouns (avoid "we"). But should we be using "I" to describe 2 authors? (Mike's note 8/23)
  • Should git, R, etc be in code blocks? Italicized?
  • Should example output be produced using R chunks (separate block), or written inline as comments? (TODO: figure out how to format output blocks differently than non-output blocks!)
  • Table styling
  • Should the first letter in a comment be capitalized (i.e., # my comment... v.s. # My comment...)?(Mike's note 8/23)
@mkfreeman
Copy link
Contributor

mkfreeman commented Aug 11, 2017

Additional standardizations:

  • Segments in code-blocks that should be replaced (i.e., git add file-name v.s. git add FILENAME)
  • Optional arguments (always using [options] ?)
  • Maybe: put in a command prompt for one line pieces of code (start terminal lines with $, one line R statements with >)?
  • Could it be helpful to have a standardized vocabulary associated with each chapter?
  • Standardize header depth (segments like 4.3.2.1 seem unnecessary / distracting)

We could/should include a description of the standardized syntax (i.e., how to read the book) in an Introduction chapter.

@joelwross
Copy link
Contributor Author

I stopped including command prompt symbols in code blocks after watching multiple students get confused or just slowed up by copying and pasting the prompts when following guides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants