|
|
|
|
|
by yawaramin
2046 days ago
|
|
Yes, especially in the ReScript toolchain ( rescript-lang.org/ ), there are many benefits: - Super-fast compiler - Readable and succinct JS output with nearly 1-to-1 mapping from OCaml source - Simple module system with no need to explicitly import modules--the compiler takes care of it for you - High-quality React and other bindings - The standard advantages of the type system like expressive power of data types and pattern matching with exhaustivity checking - Tons of super useful built-in lints like 'unused variable', 'unused function parameter', 'discarding a value', etc. |
|