From 8c08f5da850a7ceb4abf231e077d043852fa00f5 Mon Sep 17 00:00:00 2001 From: Jonathan Svenheden Date: Thu, 14 Jan 2021 21:11:00 +0100 Subject: [PATCH 1/2] Fix spelling in introduction.mdx --- pages/docs/manual/latest/introduction.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/manual/latest/introduction.mdx b/pages/docs/manual/latest/introduction.mdx index 6017d06c7..8ee86aa8a 100644 --- a/pages/docs/manual/latest/introduction.mdx +++ b/pages/docs/manual/latest/introduction.mdx @@ -20,7 +20,7 @@ We respect TypeScript very much and think that it's a positive force in the Java - Is deliberately curated to be a simple subset most folks will have an easier time to use. - 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**. - Is the same for everyone. No knobs, no bikeshedding opportunity. - - Runs extremely fast precisely thanks to its simplicity and curation. We're one of the fastest compiler & build system for JavaScript development. + - Runs extremely fast precisely thanks to its simplicity and curation. We're one of the fastest compiler & build systems for JavaScript development. - **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). - Migrating to TypeScript is done "breadth-first," whereas migrating to ReScript is done "depth-first." You can convert your codebase to TypeScript by "turning it on" for all files and annotate here and there; but how much type safety did you gain? How do you measure it? Type errors can still slip in and out of the converted pieces. For ReScript, our interop features draw clear boundaries: there's pure ReScript code, and there's JS interop code. Every piece of converted ReScript code is 100% clean. You'd convert file by file and each conversion increases your safety monotonically. From 05ffda528fb90f89c4147997d37196bb92cf870c Mon Sep 17 00:00:00 2001 From: Jonathan Svenheden Date: Tue, 19 Jan 2021 20:24:10 +0100 Subject: [PATCH 2/2] Update introduction.mdx --- pages/docs/manual/latest/introduction.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/manual/latest/introduction.mdx b/pages/docs/manual/latest/introduction.mdx index 8ee86aa8a..0c2e62aff 100644 --- a/pages/docs/manual/latest/introduction.mdx +++ b/pages/docs/manual/latest/introduction.mdx @@ -20,7 +20,7 @@ We respect TypeScript very much and think that it's a positive force in the Java - Is deliberately curated to be a simple subset most folks will have an easier time to use. - 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**. - Is the same for everyone. No knobs, no bikeshedding opportunity. - - Runs extremely fast precisely thanks to its simplicity and curation. We're one of the fastest compiler & build systems for JavaScript development. + - Runs extremely fast precisely thanks to its simplicity and curation. It's one of the fastest compiler & build system toolchains for JavaScript development. - **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). - Migrating to TypeScript is done "breadth-first," whereas migrating to ReScript is done "depth-first." You can convert your codebase to TypeScript by "turning it on" for all files and annotate here and there; but how much type safety did you gain? How do you measure it? Type errors can still slip in and out of the converted pieces. For ReScript, our interop features draw clear boundaries: there's pure ReScript code, and there's JS interop code. Every piece of converted ReScript code is 100% clean. You'd convert file by file and each conversion increases your safety monotonically.