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

update dev container instructions #1701

Merged
merged 4 commits into from
Feb 1, 2023

Conversation

reubenmiller
Copy link
Contributor

Signed-off-by: Reuben Miller reuben.d.miller@gmail.com

Proposed changes

Update VSCode dev container instructions after review from @albinsuresh

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
  • Documentation Update (if none of the other choices apply)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue


Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA (in all commits with git commit -s)
  • I ran cargo fmt as mentioned in CODING_GUIDELINES
  • I used cargo clippy as mentioned in CODING_GUIDELINES
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

Signed-off-by: Reuben Miller <reuben.d.miller@gmail.com>
Copy link
Contributor

@albinsuresh albinsuresh left a comment

Choose a reason for hiding this comment

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

A general comment for future reference: It is a common markdown practice to keep each sentence in a paragraph on individual lines rather than having a single line with multiple sentences in it. This helps while giving update suggestions as a reviewer and also helps in keeping the diffs small and localised to a single line.

docs/src/developer/DEV_CONTAINER.md Show resolved Hide resolved
docs/src/developer/DEV_CONTAINER.md Outdated Show resolved Hide resolved
docs/src/developer/DEV_CONTAINER.md Show resolved Hide resolved
docs/src/developer/DEV_CONTAINER.md Outdated Show resolved Hide resolved
docs/src/developer/DEV_CONTAINER.md Outdated Show resolved Hide resolved
docs/src/developer/DEV_CONTAINER.md Show resolved Hide resolved
@reubenmiller
Copy link
Contributor Author

A general comment for future reference: It is a common markdown practice to keep each sentence in a paragraph on individual lines rather than having a single line with multiple sentences in it. This helps while giving update suggestions as a reviewer and also helps in keeping the diffs small and localised to a single line.

Interesting point, I've never thought about it much. But overall, I don't like long paragraphs in technical (online) documents as it makes it very hard to read (imho). If a sentence can stand on its own, then I usually put it in its own paragraph.

But generally the advantages I see for short paragraphs are:

  • easier to read and more likely someone is actually going to read it (and not skip the last half of it)
  • easier to reference when talking with someone, "hey the info is in, section x, paragraph 2"
  • easier to comment / cleaner git diffs (from your feedback)

Here is a link to technical doc writing which I just found...notice there are a lot of short paragraphs ;)
https://www.freecodecamp.org/news/how-to-write-a-great-technical-blog-post-414c414b67f6/

reubenmiller and others added 3 commits February 1, 2023 08:10
Co-authored-by: Albin Suresh <albinsuresh@hotmail.com>
Co-authored-by: Albin Suresh <albinsuresh@hotmail.com>
Co-authored-by: Albin Suresh <albinsuresh@hotmail.com>
@albinsuresh
Copy link
Contributor

A general comment for future reference: It is a common markdown practice to keep each sentence in a paragraph on individual lines rather than having a single line with multiple sentences in it. This helps while giving update suggestions as a reviewer and also helps in keeping the diffs small and localised to a single line.

Interesting point, I've never thought about it much. But overall, I don't like long paragraphs in technical (online) documents as it makes it very hard to read (imho). If a sentence can stand on its own, then I usually put it in its own paragraph.

But generally the advantages I see for short paragraphs are:

  • easier to read and more likely someone is actually going to read it (and not skip the last half of it)
  • easier to reference when talking with someone, "hey the info is in, section x, paragraph 2"
  • easier to comment / cleaner git diffs (from your feedback)

Here is a link to technical doc writing which I just found...notice there are a lot of short paragraphs ;) https://www.freecodecamp.org/news/how-to-write-a-great-technical-blog-post-414c414b67f6/

With that comment I wasn't trying to encourage longer paragraphs at all. I was just suggesting that single line paragraphs(even smaller ones) are not very diff/review friendly unless they are very very small. So, even when I have smaller paragraphs, I try to put each sentence on individual lines as follows:

para1 sent1.
para1 sent2.
para1 sent3.
...

para2 sent2
para2 sent2
... and so on

...so that when I have to suggest a change for para1 sent2, the diff will only show that line has changed rather than the entire paragraph.

@reubenmiller reubenmiller merged commit 6daf17a into thin-edge:main Feb 1, 2023
@reubenmiller reubenmiller deleted the docs-dev-container branch February 1, 2023 08:13
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.

None yet

2 participants