What makes Rust's enums so great?

This page summarizes the projects mentioned and recommended in the original post on /r/programming

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.
surveyjs.io
featured
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.
www.influxdata.com
featured
  • ts-adt

    Generate Algebraic Data Types and pattern matchers

  • FWIW, for TypeScript there are libraries such as ts-adt that help you skip over the boilerplate.

  • union-types

    A Typescript library for creating discriminating union types.

  • variant and @practical-fp/union-types can get rid of that boilerplate as well. Disclaimer: I am the author of the latter.

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

    SurveyJS logo
  • ts-pattern

    🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.

  • Also, ts-pattern also offers matching, but not restricted to discriminating unions.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • #IfElseOrElse

    1 project | /r/ProgrammerHumor | 30 Aug 2021
  • rustic - a TypeScript library providing Rust's Option and Result types

    1 project | /r/typescript | 5 Aug 2021
  • Ts-pattern: The exhaustive Pattern Matching library for TypeScript

    1 project | news.ycombinator.com | 1 Aug 2021
  • How to practically use unions to prevent invalid states?

    1 project | /r/typescript | 4 May 2021
  • OCaml typechecker catches a redundant rule in Unicode line-breaking algorithm (2020)

    3 projects | /r/programming | 1 May 2021