algebra-driven-design VS sorbet

Compare algebra-driven-design vs sorbet and see what are their differences.

algebra-driven-design

Source material for Algebra-Driven Design (by isovector)

sorbet

A fast, powerful type checker designed for Ruby (by sorbet)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
algebra-driven-design sorbet
11 53
126 3,517
- 0.5%
4.3 9.9
5 months ago 7 days ago
Haskell Ruby
BSD 3-clause "New" or "Revised" License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

algebra-driven-design

Posts with mentions or reviews of algebra-driven-design. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-02.
  • Does anyone use formal methods to validate the behaviour of programs/software at their job?
    2 projects | /r/ExperiencedDevs | 2 Aug 2022
    I would like to do this more. At the moment I don't do formal verification. However, I often borrow methodology from the excellent book Algebra-Driven Design (text available on GitHub but support the author if you find it useful!) when designing systems. This means I define algebraic data types to describe the program and the laws that relate the different types, and use that to guide implementation in a language that doesn't support ADTs.
  • Best books for Haskell
    2 projects | /r/haskell | 25 Jun 2022
  • Do you feel static types have "won the war", so to speak?
    4 projects | /r/ExperiencedDevs | 13 Jun 2022
    Their approach might be to express their business logic as a carefully selected collection of types and laws, as described in Algebra-Driven Design (the full text is available on GitHub, please support the author if you find it useful though). I recommend this book to everyone because, even if you don't use this approach to design your programs, it's an excellent way to think about problems and better understand the problem space.
  • Does anybody know a simple algorithm for generating unit tests given a function's code?
    7 projects | /r/compsci | 26 Jul 2021
    This reminds me of QuickSpec (different from QuickCheck) in Haskell. It takes Haskell code and finds the Mathematical laws that the code supports. It does this using a sort of smart random search. I learned about this as part of the Algebra Driven Design book.

sorbet

Posts with mentions or reviews of sorbet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-20.

What are some alternatives?

When comparing algebra-driven-design and sorbet you can also consider the following projects:

solargraph - A Ruby language server.

vscode-solargraph - A Visual Studio Code extension for Solargraph.

rbs - Type Signature for Ruby

rubocop - A Ruby static code analyzer and formatter, based on the community Ruby style guide.

noclip.website - A digital museum of video game levels

tapioca - The swiss army knife of RBI generation

content - The content behind MDN Web Docs

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

crystal - The Crystal Programming Language

steep - Static type checker for Ruby

stripe-ruby - Ruby library for the Stripe API.

learn-you-a-haskell - “Learn You a Haskell for Great Good!” by Miran Lipovača