error-or
A simple, fluent discriminated union of an error or a result. (by amantinband)
Functional.Maybe
Idiomatic option types for C# (by AndreyTsvetkov)
error-or | Functional.Maybe | |
---|---|---|
4 | 3 | |
1,230 | 121 | |
- | - | |
8.0 | 0.0 | |
6 days ago | almost 3 years ago | |
C# | C# | |
MIT 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.
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.
error-or
Posts with mentions or reviews of error-or.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-19.
Functional.Maybe
Posts with mentions or reviews of Functional.Maybe.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-19.
-
Knowledge of generics: isn't it pretty common?
I also find myself using Maybe occasionally, I usually end up using this when I am working with a third party library that returns null on some methods.
-
Pernicious Nulls - using and abusing nulls in C#
I was looking a bit at the Functional.Maybe project and it looks like there isn't recent activity, although it seems to work fine. Have you run into any issues using it with the nullable c# handling or any other challenges with recent c# additions?
-
To what do you pay the most attention when doing a code review?
So often I like to use the “maybe” class https://github.com/AndreyTsvetkov/Functional.Maybe
What are some alternatives?
When comparing error-or and Functional.Maybe you can also consider the following projects:
FluentResults - A generalised Result object implementation for .NET/C#