Skip to content

Commit b79a481

Browse files
Fixed typo and grammar in README.md (carbon-language#1646)
Summary of resolved issues/ changes: 1. 'our' typed twice under **Join us** heading in README.md --> 'our ' is no longer repeated, typo fixed 2. verb form and comma related errors under **Memory Safety** heading in README.md --> grammar fixed 3. missing article and hyphen related errors under **Generics** heading in README.md --> grammar fixed 4. punctuation and preposition related errors under **Why build Carbon?** heading in README.md --> grammar fixed Co-authored-by: Jon Ross-Perkins <[email protected]>
1 parent 075b3ab commit b79a481

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ GitHub will autolink `img`, but won't produce a link when `href="#"`.
5757

5858
C++ remains the dominant programming language for performance-critical software,
5959
with massive and growing codebases and investments. However, it is struggling to
60-
improve and meet developers' needs outlined above, in no small part due to
60+
improve and meet developers' needs, as outlined above, in no small part due to
6161
accumulating decades of technical debt. Incrementally improving C++ is
6262
[extremely difficult](/docs/project/difficulties_improving_cpp.md), both due to
6363
the technical debt itself and challenges with its evolution process. The best
6464
way to address these problems is to avoid inheriting the legacy of C or C++
65-
directly, and instead start with solid language foundations like a
65+
directly, and instead start with solid language foundations like
6666
[modern generics system](#generics), modular code organization, and consistent,
6767
simple syntax.
6868

@@ -210,15 +210,15 @@ with checked definitions, while still **supporting opt-in
210210
[templates](/docs/design/templates.md) for seamless C++ interop**. Checked
211211
generics provide several advantages compared to C++ templates:
212212

213-
- **Generic definitions are fully type checked**, removing the need to
213+
- **Generic definitions are fully type-checked**, removing the need to
214214
instantiate to check for errors and giving greater confidence in code.
215-
- Avoids compile time cost of re-checking the definition for every
215+
- Avoids the compile-time cost of re-checking the definition for every
216216
instantiation.
217217
- When using a definition-checked generic, usage error messages are
218218
clearer, directly showing which requirements are not met.
219219
- **Enables automatic, opt-in type erasure and dynamic dispatch** without a
220-
separate implementation. This can reduce binary size and enables constructs
221-
like heterogeneous containers.
220+
separate implementation. This can reduce the binary size and enables
221+
constructs like heterogeneous containers.
222222
- **Strong, checked interfaces** mean fewer accidental dependencies on
223223
implementation details and a clearer contract for consumers.
224224

@@ -234,8 +234,8 @@ and with a smooth evolutionary path.
234234
## Memory safety
235235

236236
Safety, and especially
237-
[memory safety](https://en.wikipedia.org/wiki/Memory_safety), remain key
238-
challenges for C++ and something a successor language needs to address. Our
237+
[memory safety](https://en.wikipedia.org/wiki/Memory_safety), remains a key
238+
challenge for C++ and something a successor language needs to address. Our
239239
initial priority and focus is on immediately addressing important, low-hanging
240240
fruit in the safety space:
241241

@@ -295,8 +295,8 @@ Learn more about the Carbon project:
295295
Carbon is committed to a welcoming and inclusive environment where everyone can
296296
contribute.
297297

298-
- To watch for major release announcements, subscribe to
299-
[our Carbon release post on GitHub](https://github.com/carbon-language/carbon-lang/discussions/1020)
298+
- To watch for major release announcements, subscribe to our
299+
[Carbon release post on GitHub](https://github.com/carbon-language/carbon-lang/discussions/1020)
300300
and [star carbon-lang](https://github.com/carbon-language/carbon-lang).
301301
- To join the design discussion, join our
302302
[GitHub forum](https://github.com/carbon-language/carbon-lang/discussions).

0 commit comments

Comments
 (0)