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 β
Js-proposal-algebraic-effects Alternatives
Similar projects and alternatives to js-proposal-algebraic-effects
-
-
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.
-
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
-
-
-
-
-
-
proposal-signals
Discontinued A proposal to add signals to JavaScript. [Moved to: https://github.com/tc39/proposal-signals] (by proposal-signals)
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
js-proposal-algebraic-effects discussion
js-proposal-algebraic-effects reviews and mentions
-
Proposal: Signals as a Built-In Primitive of JavaScript
I have to admit: you're perfectly right here. React of course always relied on mutable state in it's implementation β just so we don't have to. I derailed a lot here to keep this funny thread going ;) I'm still not with you on your definition of "functional", since you treated it synonymously with "purely functional". Functional means just made by applying and composing functions, and react UI is created exactly like that. There is an awesome algebraic effects proposal[1], which will hopefully will be added to JavaScript one day, then react will make use of it to become purely functional.
1: https://github.com/macabeus/js-proposal-algebraic-effects
-
Letlang, a programming language targetting Rust - Road to v0.1
Super interesting, there is a proposal to add this to JavaScript and several languages that use this, unison, koka & eff. I had no idea this was even a thing!
-
Go Replaces Interface{} with 'Any'
Ok I was wrongly assuming that panic was expecting an error type, in fact it's an interface{}.
> Your use of exceptions for flow control (i.e. goto) is considered harmful
Exceptions are a way to delegate error handling to the caller by giving them informations about the unexpected behavior. It implies that the expected behavior is the "happy path" (everything went well) and any deviations (errors) is unexpected.
This is far from a goto because you can have `try/finally` blocks without catch (or defer in golang).
Also, exceptions are just a kind of algebraic effects that do not resume. There was a proposal to JS for this: https://github.com/macabeus/js-proposal-algebraic-effects
This is also easier to test. assertRaises(ErrorType, func() { code... })
Almost every Go library I've seen just return an error (which is just a string), you'd need to parse it to assert that the correct error is returned in special conditions.
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 7 Feb 2025
Stats
The primary programming language of js-proposal-algebraic-effects is JavaScript.
Popular Comparisons
- js-proposal-algebraic-effects VS exhaustive
- js-proposal-algebraic-effects VS rustic_result
- js-proposal-algebraic-effects VS rmemo (Reactive Memo)
- js-proposal-algebraic-effects VS proposal-explicit-resource-management
- js-proposal-algebraic-effects VS mux
- js-proposal-algebraic-effects VS errors
- js-proposal-algebraic-effects VS koka
- js-proposal-algebraic-effects VS gopl.io
- js-proposal-algebraic-effects VS semver
- js-proposal-algebraic-effects VS observable