Js-proposal-algebraic-effects Alternatives
Similar projects and alternatives to js-proposal-algebraic-effects
-
mux
Discontinued A powerful HTTP router and URL matcher for building Go web servers with 🦍
-
exhaustive
Check exhaustiveness of switch statements of enum-like constants.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
-
rustic_result
Result monad for Elixir inspired by Rust Result type
-
-
gopherjs
A compiler from Go to JavaScript for running Go code in a browser
-
gopl.io
Example programs from "The Go Programming Language"
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
-
Fable: F# |> BABEL
F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
-
ez
Minimalistic package for handling Go errors in an easy way (by Vanclief)
js-proposal-algebraic-effects reviews and mentions
-
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.
Stats
The primary programming language of js-proposal-algebraic-effects is JavaScript.