Hyrum's Law in Golang

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. go

    The Go programming language

    To be fair to those projects, the type was introduced only three years ago:

    https://github.com/golang/go/pull/49359/files

    Before that, doing a string compare was basically the only way to detect that specific error. That was definitely an omission on the part of the original authors of the stdlib code; I don't it should be classified as "Hyrum's Law".

  2. SaaSHub

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

    SaaSHub logo
  3. psycopg

    New generation PostgreSQL database adapter for the Python programming language

    Nope, exceptions in Python are not the same. There are a lot of standard exceptions

    https://docs.python.org/3/library/exceptions.html#concrete-e...

    and standard about exception type hierarchy

    https://github.com/psycopg/psycopg/blob/d38cf7798b0c602ff43d...

    https://peps.python.org/pep-0249/#exceptions

    Also in most languages "catch Exception:" (or similar expression) is considered a bad style. People are taught to catch specific exceptions. Nothing like that happens in Go.

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

  • querySrv errors when connecting to MongoDB Atlas

    3 projects | dev.to | 29 Feb 2024
  • Pico with C

    2 projects | /r/raspberrypipico | 15 Aug 2023
  • Sourcehut will blacklist the Go module mirror

    7 projects | news.ycombinator.com | 9 Jan 2023
  • Embedded Go finally got the first binary release

    12 projects | /r/golang | 14 Jul 2022
  • can I use int64 on 32 bit architecture system?

    2 projects | /r/golang | 24 May 2022

Did you know that Go is
the 4th most popular programming language
based on number of references?