Skip to content

Commit 4c0679d

Browse files
committed
Tweak intro
1 parent c1e4116 commit 4c0679d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pages/docs/manual/latest/introduction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ We respect TypeScript very much and think that it's a positive force in the Java
1818

1919
- Consequently, TypeScript's type system is necessarily complex, pitfalls-ridden, potentially requires tweaking, sometimes slow, and requires quite a bit of noisy annotations that often feel like manual bookkeeping rather than clear documentation. In contrast, ReScript's type system:
2020
- Is deliberately curated to be a simple subset most folks will have an easier time to use.
21-
- Has **no** pitfalls, aka the type system is "sound" (the types will always be correct). E.g. If your value is not null, it'll never lie and slip through some `undefined` value. **ReScript code has no null errors**.
21+
- Has **no** pitfalls, aka the type system is "sound" (the types will always be correct). E.g. If a type isn't marked as nullable, its value will never lie and let through some `undefined` value silently. **ReScript code has no null/undefined errors**.
2222
- Is the same for everyone. No knobs, no bikeshedding opportunity.
2323
- Runs extremely fast precisely thanks to its simplicity and curation. We're one of the fastest compiler & build system for JavaScript development.
2424
- **Doesn't need type annotations**. Annotate as much or as little as you'd like. The types are inferred by the language (and, again, are guaranteed correct).

pages/docs/manual/v8.0.0/introduction.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ canonical: "/docs/manual/latest/introduction"
88

99
**ReScript is the language for folks who don't necessarily love JavaScript, but who still acknowledge its importance**.
1010

11-
ReScript looks like JavaScript, works like JavaScript, works _with_ JavaScript, and compiles to the highest quality of clean, readable and performant JavaScript, directly runnable in the browser and Node.js.
11+
ReScript looks like JavaScript, works like JavaScript, works _with_ JavaScript, and compiles to the highest quality of clean, readable and performant JavaScript, directly runnable in the browser and Node.js.
1212

1313
## Difference vs TypeScript
1414

@@ -18,7 +18,7 @@ We respect TypeScript very much and think that it's a positive force in the Java
1818

1919
- Consequently, TypeScript's type system is necessarily complex, pitfalls-ridden, potentially requires tweaking, sometime slow, and requires quite a bit of noisy annotations that often feel like manual bookkeeping rather than clear documentation. In contrast, ReScript's type system:
2020
- Is deliberately curated to be a simple subset most folks will have an easier time to use.
21-
- Has **no** pitfalls, aka the type system is "sound" (the types will always be correct). E.g. If your value is not null, it'll never lie and slip through some `undefined` value. **ReScript code has no null errors**.
21+
- Has **no** pitfalls, aka the type system is "sound" (the types will always be correct). E.g. If a type isn't marked as nullable, its value will never lie and let through some `undefined` value silently. **ReScript code has no null/undefined errors**.
2222
- Is the same for everyone. No knobs, no bikeshedding opportunity.
2323
- Runs extremely fast precisely thanks to its simplicity and curation. We're one of the fastest compiler & build system for JavaScript development.
2424
- **Doesn't need type annotations**. Annotate as much or as little as you'd like. The types are inferred by the language (and, again, are guaranteed correct).

0 commit comments

Comments
 (0)