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

Revise best-practices.md #569

Merged
merged 6 commits into from
Oct 17, 2024
Merged

Conversation

tasxatzial
Copy link
Member

No description provided.

@@ -53,7 +53,7 @@ Tooling runs as one-off, short-lived Docker container:
3. The Docker container is destroyed
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
3. The Docker container is destroyed
3. The Docker container is destroyed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, why is a period needed here?

Copy link
Member

@BNAndras BNAndras Oct 2, 2024

Choose a reason for hiding this comment

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

Ah, mistake on my part on mobile. The full context wasn't showing to mark all the steps, but a period should be used after an item in a list if every item is a sentence on its own. See https://apastyle.apa.org/style-grammar-guidelines/lists/numbered and https://www.microsoft.com/en-us/microsoft-365-life-hacks/writing/punctuating-bullet-point-lists.

Copy link
Member

Choose a reason for hiding this comment

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

I can't add a comment to it, but L49 should read "Tooling runs as a one-off, short-lived Docker container:"

Copy link
Member

Choose a reason for hiding this comment

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

L61 should read 'Therefore, it's fine if the code that runs at build-time is (relatively) slow.'

Copy link
Member

Choose a reason for hiding this comment

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

L120 should read 'The reason "slim" variants are smaller is that they'll have fewer features.'

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch. Fixed.

Copy link
Member

Choose a reason for hiding this comment

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

L140 should read 'Distributions that use the apk package manager (such as Alpine) should use the --no-cache flag when using apk add to install packages:'

Copy link
Member

Choose a reason for hiding this comment

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

L217 should read 'Its Dockerfile starts with a stage (given the name build) that installs those packages (via apk add) and then installs the libraries (via bundle install):'

@@ -91,7 +91,7 @@ You should try to reduce the image's size, which means that it'll:

- Be faster to deploy
- Reduce costs for us
- Improve startup time of each container
- Improve the startup time of each container
Copy link
Member

Choose a reason for hiding this comment

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

The prior line doesn't read "Reduce the cost". I don't think this needs "the" added.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sounds reasonable. Removed.

@@ -53,7 +53,7 @@ Tooling runs as one-off, short-lived Docker container:
3. The Docker container is destroyed
Copy link
Member

Choose a reason for hiding this comment

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

L61 should read 'Therefore, it's fine if the code that runs at build-time is (relatively) slow.'

building/tooling/best-practices.md Outdated Show resolved Hide resolved
building/tooling/best-practices.md Outdated Show resolved Hide resolved
@@ -53,7 +53,7 @@ Tooling runs as one-off, short-lived Docker container:
3. The Docker container is destroyed
Copy link
Member

Choose a reason for hiding this comment

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

L120 should read 'The reason "slim" variants are smaller is that they'll have fewer features.'

@@ -53,7 +53,7 @@ Tooling runs as one-off, short-lived Docker container:
3. The Docker container is destroyed
Copy link
Member

Choose a reason for hiding this comment

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

L140 should read 'Distributions that use the apk package manager (such as Alpine) should use the --no-cache flag when using apk add to install packages:'

@@ -53,7 +53,7 @@ Tooling runs as one-off, short-lived Docker container:
3. The Docker container is destroyed
Copy link
Member

Choose a reason for hiding this comment

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

L217 should read 'Its Dockerfile starts with a stage (given the name build) that installs those packages (via apk add) and then installs the libraries (via bundle install):'

@tasxatzial tasxatzial requested a review from BNAndras October 3, 2024 16:17
@tasxatzial
Copy link
Member Author

tasxatzial commented Oct 3, 2024

Ready for review

Edit: added the first suggestion (a period should be used after an item in a list if every item is a sentence on its own)

@tasxatzial tasxatzial changed the title Fix grammar issues in best-practices.md Revise best-practices.md Oct 3, 2024
building/tooling/best-practices.md Outdated Show resolved Hide resolved
building/tooling/best-practices.md Outdated Show resolved Hide resolved
building/tooling/best-practices.md Outdated Show resolved Hide resolved
building/tooling/best-practices.md Outdated Show resolved Hide resolved
@tasxatzial
Copy link
Member Author

@BNAndras Whenever you're able, your review is still needed.

@SleeplessByte SleeplessByte merged commit 7cdebb7 into exercism:main Oct 17, 2024
@tasxatzial tasxatzial deleted the best-practices branch October 17, 2024 15:18
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