Skip to content

Fix grammar #74

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

Merged
merged 8 commits into from
Jul 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/arrays/challenges.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Edit the following program so that the output is zero.
void main() {
// Only change this line
String[] words = { "Sam", "I", "Am" };
System.out.println(array.length);
IO.println(words.length);
}
```

Expand Down
2 changes: 1 addition & 1 deletion src/arrays/reassignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ System.out.println(numbers.length);
~}
```

This reassignment will not be affect any variables which
This reassignment will not affect any variables which
are aliases for the variable's old value.

```java
Expand Down
2 changes: 1 addition & 1 deletion src/arrays/relation_to_final_variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final char[] catchphrase = { 'w', 'o', 'a', 'h', '!' };
System.out.println(catchphrase);

// Cannot reassign
// catchphrase = { 'e', 'g', 'a', 'd', 's' }
// catchphrase = new char[] { 'e', 'g', 'a', 'd', 's' }
// but can set elements directly
catchphrase[0] = 'e';
catchphrase[1] = 'g';
Expand Down
2 changes: 1 addition & 1 deletion src/loops_ii/comparison_to_while.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ while (index < numbers.length) {
~}
```

Us humans, with our tiny monkey brains, can get very lost when things that are related to eachother are separated
Us humans, with our tiny monkey brains, can get very lost when things that are related to each other are separated
by long distances.

In this dimension, for loops are superior. All the bits of code that "control the loop" can be right at the top.
Expand Down