js-proposal-algebraic-effects

πŸ“Let there be algebraic effects in JS (by macabeus)

Js-proposal-algebraic-effects Alternatives

Similar projects and alternatives to js-proposal-algebraic-effects

js-proposal-algebraic-effects
  1. go

    The Go programming language

  2. 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.

    CodeRabbit logo
  3. semver

    Semantic Versioning Specification

  4. Preact

    βš›οΈ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

  5. mux

    Discontinued A powerful HTTP router and URL matcher for building Go web servers with 🦍

  6. Fable: F# |> BABEL

    F# to JavaScript, TypeScript, Python, Rust and Dart Compiler

  7. gopl.io

    Example programs from "The Go Programming Language"

  8. koka

    Koka language compiler and interpreter

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. errors

    Discontinued Simple error handling primitives

  11. exhaustive

    Check exhaustiveness of switch statements of enum-like constants in Go source code.

  12. gopherjs

    A compiler from Go to JavaScript for running Go code in a browser

  13. rustic_result

    Result monad for Elixir inspired by Rust Result type

  14. observable

    Observable API proposal

  15. puter

    🌐 The Internet OS! Free, Open-Source, and Self-Hostable.

  16. rmemo (Reactive Memo)

    Tiny Reactive Memo + Signal library

  17. S

    S.js - Simple, Clean, Fast Reactive Programming in Javascript (by adamhaile)

  18. proposal-signals

    Discontinued A proposal to add signals to JavaScript. [Moved to: https://github.com/tc39/proposal-signals] (by proposal-signals)

  19. ez

    Minimalistic package for handling Go errors in an easy way (by Vanclief)

  20. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better js-proposal-algebraic-effects alternative or higher similarity.

js-proposal-algebraic-effects discussion

Log in or Post with

js-proposal-algebraic-effects reviews and mentions

Posts with mentions or reviews of js-proposal-algebraic-effects. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-31.
  • Proposal: Signals as a Built-In Primitive of JavaScript
    9 projects | news.ycombinator.com | 31 Mar 2024
    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
    3 projects | /r/rust | 24 Nov 2022
    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'
    10 projects | news.ycombinator.com | 14 Dec 2021
    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
    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 β†’

Stats

Basic js-proposal-algebraic-effects repo stats
3
177
0.0
over 3 years ago

Sponsored
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.
coderabbit.ai

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?