Python errors as values: Comparing useful patterns from Rust and Go

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • result

    A simple Rust like Result type for Python 3. Fully type annotated. (by rustedpy)

  • I don't know Python too well but I think this is covered in TFA. There's a comparison between a Result type using https://github.com/rustedpy/result and an ADT/sum type — and the sum type looks like it's way more ergonomic with Python's current typechecker.

    While I like Rust — and Result works really well with `?` — it doesn't actually look like that's the best pattern for Python?

  • result

    A TypeScript result type taking cues from Rust's Result and Haskell's Either types (by badrap)

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

    InfluxDB logo
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

  • A better way to handle errors in JavaScript

    4 projects | news.ycombinator.com | 30 Oct 2023
  • I created a package that adds Rust-like features to TypeScript

    7 projects | /r/rust | 23 Feb 2022
  • My opinion about opinionated Prettier: 👎

    3 projects | dev.to | 2 May 2024
  • Bitwarden starts using the OS password manager service, and it's breaking

    1 project | news.ycombinator.com | 1 May 2024
  • 🚀 The Fast, Accurate, JavaScript Objects Diffing & Patching Library

    3 projects | dev.to | 1 May 2024