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

Reduce instances of words that shouldn't be used in educational writing. #1126

Merged
merged 31 commits into from
Sep 21, 2017
Merged

Reduce instances of words that shouldn't be used in educational writing. #1126

merged 31 commits into from
Sep 21, 2017

Conversation

robwierzbowski
Copy link
Contributor

@robwierzbowski robwierzbowski commented Sep 12, 2017

Fixes #1120.

I tried not to revise too much, mostly removing instances of just, simply, obviously, easily. In most cases this made the language more direct and concrete, which I think aides understanding.

There are places where these words are useful, so this isn't a 100% find/replace/delete. I used my judgement — comments are welcome.

Around half of the removals relate to my original issue (don't assume ease), and the other half improve the flow of reading by removing words when they're unnecessary for understanding.

I avoided revising any blog posts, except common-gotchas which I thought might still get a lot of views.

- Some of these commas aren't grammatically correct. Easy fix.
- Over reliance on words that weaken (might, though, may) make a statement
  ambiguous. Remove some to make concepts more direct and understandable.
- Remove 'just', 'all you have to', etc.
- Use direct language, reduce word count
There are some places where just and simple are valid! So still some instances
in here.
I didn't want to touch this one too much because it's so important to the
adoption of Vue.
Some of these are good usages, and I even added an "easy" :). But I think the
removals make the language flow better.

I hope that right now, you're reading this sentence in your preferred language. If not, would you like to help us get there?

If so, please feel free to fork the repo for [these docs](https://github.com/vuejs/vuejs.org/) or for any other officially maintained documentation, then start translating. Once you've made some progress, open an issue or pull request in the main repo and we'll put out a call for more contributors to help you out.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this is a whole file diff. I removed a single just.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe windows vs unix line endings?

Copy link
Contributor

@rpkilby rpkilby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi. Just my two cents, but there seem to be a few cases that remove helpful context. I've only quoted a couple of examples and haven't reviewed this extensively.

@@ -46,7 +46,7 @@ Then what would you expect to be logged below?
new Vue({
data: {
// Uh oh - appName is *also* the name of the
// instance property we just defined!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"just" implies proximity, rather than conceptual simplicity

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does. I think the "recently" is implied, but happy to revert.

I definitely made some judgement calls, so comments welcome.

@@ -1357,7 +1357,7 @@ type: api

- **Usage:**

Watch an expression or a computed function on the Vue instance for changes. The callback gets called with the new value and the old value. The expression only accepts simple dot-delimited paths. For more complex expression, use a function instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"simple" emphasizes the lack of complexity of the expression, rather than conceptual simplicity

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it's superfluous, and reads more simply (ha!) without it.

@robwierzbowski
Copy link
Contributor Author

Thanks for starting a review @rpkilby. Happy to revert anything, or continue revisions. Just to be clear, I did remove more than just conceptual simplicity instances of these words, noted in the PR description.

@rpkilby
Copy link
Contributor

rpkilby commented Sep 12, 2017

Yep, just demonstrating a couple of the places where the removed words were not referencing conceptual accessibility/simplicity.

Either way, +1 on the changes. It's kind of interesting - never really thought about this before.

@chrisvfritz
Copy link
Contributor

Thank you @robwierzbowski! It might take me a few days to review with my schedule this week, but I'm really looking forward to it. 😄

@znck
Copy link
Member

znck commented Sep 13, 2017

👍 Nice work @robwierzbowski.

@codebryo
Copy link

Wow, cool PR. Thanks for that. <3

@chrisvfritz
Copy link
Contributor

@robwierzbowski Sorry it took me a bit longer to get through this! I didn't see anything that wasn't at least neutral to me and most were definite improvements. 😄 Thanks again and I look forward to more PRs in the future!

@chrisvfritz chrisvfritz merged commit fe25553 into vuejs:master Sep 21, 2017
@robwierzbowski
Copy link
Contributor Author

robwierzbowski commented Sep 21, 2017

Thanks! I might submit a PR with some potential simplifications I noted while writing this one.

I'm trying to get some projects I'm involved with on Vue, and I think the current documentation (and culture of writing docs) is a huge plus. Happy to give back.

chrisvfritz pushed a commit that referenced this pull request Sep 27, 2017
…ng. (#1126)

* Reduce comma use, make language more direct in Unit testing docs

- Some of these commas aren't grammatically correct. Easy fix.
- Over reliance on words that weaken (might, though, may) make a statement
  ambiguous. Remove some to make concepts more direct and understandable.

* Reduce just,simply,obviously,easy, in unit-testing.md

- Remove 'just', 'all you have to', etc.
- Use direct language, reduce word count

* Reduce just,simply,obviously,easy, in common-gotchas.md

* Reduce just,simply,obviously,easy in v2/api/index.md

There are some places where just and simple are valid! So still some instances
in here.

* Reduce just,simply,obviously,easy in adding-instance-properties.md

* Reduce just,simply,obviously,easy in README.md

* Remove a just in class-and-style.md

* Reduce just,simply,obviously,easy in comparison.md

I didn't want to touch this one too much because it's so important to the
adoption of Vue.

* Reduce just,simply,obviously,easy in components.md

* Reduce just,simply,obviously,easy in computed.md

* Reduce just,simply,obviously,easy in conditional.md

* Reduce just,simply,obviously,easy in custom-directive.md

* Reduce just,simply,obviously,easy in events.md

* Reduce just,simply,obviously,easy in forms.md

* Reduce just,simply,obviously,easy in guide/index.md

Some of these are good usages, and I even added an "easy" :). But I think the
removals make the language flow better.

* Reduce just,simply,obviously,easy in instance.md

* Reduce just,simply,obviously,easy in join.md

* Reduce just,simply,obviously,easy in list.md

* Reduce just,simply,obviously,easy in migration-vue-router.md

* Reduce just,simply,obviously,easy in migration-vuex.md

* Reduce just,simply,obviously,easy in migration.md

* Reduce just,simply,obviously,easy in mixins.md

* Reduce just,simply,obviously,easy in reactivity.md

* Reduce just,simply,obviously,easy in render-function.md

* Reduce just,simply,obviously,easy in routing.md

* Reduce just,simply,obviously,easy in single-file-components.md

* Reduce just,simply,obviously,easy in state-management.md

* Reduce just,simply,obviously,easy in transitioning-state.md

* Reduce just,simply,obviously,easy in transitions.md
@rpkilby
Copy link
Contributor

rpkilby commented Nov 9, 2017

Hi @robwierzbowski - out of curiosity, did you use any linting tools for this PR, or did you do this by hand?

@robwierzbowski robwierzbowski deleted the slightly-less-obvious branch November 9, 2017 18:36
@robwierzbowski
Copy link
Contributor Author

@rpkilby Just find and replace 🙂

@robwierzbowski
Copy link
Contributor Author

I️ also read over pretty much every line in the documentation. So, find and replace +

@rpkilby
Copy link
Contributor

rpkilby commented Nov 9, 2017

Thanks. I also just noticed the article you originally referenced.

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

Successfully merging this pull request may close these issues.

5 participants