Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →
Proposal-pattern-matching Alternatives
Similar projects and alternatives to proposal-pattern-matching
-
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
-
-
typescript-eslint
:sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
-
-
rescript
ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
proposal-record-tuple
ECMAScript proposal for the Record and Tuple value types. | Stage 2: it will change!
-
-
-
-
-
-
proposal-change-array-by-copy
Discontinued Provides additional methods on Array.prototype and TypedArray.prototype to enable changes on the array by returning a new copy of it with the change.
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
proposal-pattern-matching discussion
proposal-pattern-matching reviews and mentions
-
Modern JavaScript Patterns You’ll Want to Use in 2025.
❗ Where it stands: Still in Stage 1 of the TC39 Pattern Matching Proposal, meaning it’s experimental and far from being implemented in JavaScript yet.
-
Exciting New Features in ECMAScript 2024 (ES15)
[5] TC39. (2023). ECMAScript Pattern Matching Proposal. Retrieved from https://github.com/tc39/proposal-pattern-matching
-
Coming to grips with JS: a Rubyist's deep dive
Note, however, that there is a proposal to add pattern matching to JS.
-
Level up your Typescript game, functionally - Part 2
There's an ECMAScript proposal that is in the works to add this feature to the language! It's going to look something like this.
-
Building React Components Using Unions in TypeScript
More importantly, TypeScript typically commits to build things into itself when the proposal in JavaScript reaches Stage 3. The pattern matching proposal in JavaScript is Stage 1, but depends on many other proposals as well that may or may not need to be at Stage 3 as well for it to work. This particular proposal is interested on pattern matching on JavaScript Objects and other primitives, just like Python does with it’s native primitives. These are also dynamic types which helps in some areas, but makes it harder than others. Additionally, the JavaScript type annotations proposal needs to possibly account for this. So it’s going to be awhile. Like many years.
-
Explicit Software Design. Preliminary Conclusions
For true™ functional programming in JS, native pattern matching and partial function application are missing (at least for now: 1, 2). For proper OOP, it lacks real interfaces and compile-time dependency injection.
-
TypeScript Is Surprisingly OK for Compilers
The proposal for pattern matching syntax seems more akin to what they're looking for.
https://github.com/tc39/proposal-pattern-matching
-
[AskJS] C# in every Node.js job posting?
There's a proposal to add something like that to JavaScript but it's been stuck in limbo since 2017 although there are libraries like ts-pattern which implement it already.
-
[AskTS] What do you think will be the future of runtime type checking?
I'll admit, it is easy to assert that the TypeScript language should not be involved in the matters of packages but I also wonder if we're moving towards a point where interfaces will be as common as namespaces and whether or not it would be sensible for the language to incorporate such type assertions into the language formally, after all, it already compiles to various forms of JavaScript and there is a stage 1 proposal submitted to the TC39 committee to give JavaScript pattern matching. If adopted, wouldn't it make sense to allow TypeScript to compile a type into a type guard for the native JavaScript pattern matcher?
- Updates from the 96th TC39 meeting
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 22 Mar 2025
Stats
tc39/proposal-pattern-matching is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of proposal-pattern-matching is HTML.
Popular Comparisons
- proposal-pattern-matching VS fp-ts
- proposal-pattern-matching VS proposal-record-tuple
- proposal-pattern-matching VS ts-pattern
- proposal-pattern-matching VS content
- proposal-pattern-matching VS proposal-pipeline-operator
- proposal-pattern-matching VS ecma262
- proposal-pattern-matching VS package.elm-lang.org
- proposal-pattern-matching VS proposal-import-assertions
- proposal-pattern-matching VS picoc
- proposal-pattern-matching VS await-to-js