-
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
Reduce instances of words that shouldn't be used in educational writing. #1126
Reduce instances of words that shouldn't be used in educational writing. #1126
Conversation
- 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. |
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
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?
There was a problem hiding this 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! |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
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. |
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. |
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. 😄 |
👍 Nice work @robwierzbowski. |
Wow, cool PR. Thanks for that. <3 |
@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! |
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. |
…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
Hi @robwierzbowski - out of curiosity, did you use any linting tools for this PR, or did you do this by hand? |
@rpkilby Just find and replace 🙂 |
I️ also read over pretty much every line in the documentation. So, find and replace + |
Thanks. I also just noticed the article you originally referenced. |
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.