ClosedTypeHierarchyDiagnosticSuppressor
Suppresses exhaustiveness warnings for switching (switch statement or expression) on closed type hierarchies (by shuebner)
grumpy
Grumpy is a Python to Go source code transcompiler and runtime. (by grumpyhome)
ClosedTypeHierarchyDiagnosticSuppressor | grumpy | |
---|---|---|
4 | 2 | |
39 | 419 | |
- | 0.5% | |
0.0 | 0.0 | |
6 months ago | about 3 years ago | |
C# | Go | |
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.
ClosedTypeHierarchyDiagnosticSuppressor
Posts with mentions or reviews of ClosedTypeHierarchyDiagnosticSuppressor.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-30.
-
Borgo is a statically typed language that compiles to Go
It's not the best solution, but an analyzer like [0] covers most of the cases for reference types. For enums and struct DUs in general we'll have to wait for language (or even runtime) support.
[0] https://github.com/shuebner/ClosedTypeHierarchyDiagnosticSup...
-
Is downcasting in this scenario really bad? What are the alternatives?
I don't think you can get around downcasting though, since pattern matching on type is also just that. You can however make it somehwat safer with this nuget package, for as long as csharp doesn't support discriminated unions natively yet.
-
How do you live without tagged union types?
If you are using visual studio you can try https://github.com/shuebner/ClosedTypeHierarchyDiagnosticSuppressor and write abstract record
- Exhaustiveness check for Discriminated Unions in C#
grumpy
Posts with mentions or reviews of grumpy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-30.
- Borgo is a statically typed language that compiles to Go
-
Extract Data from PDF
So if that tool can read it, why not use it for conversion (calling from Go if you prefer)? Or have a look at the source to determine what it does to make the text readable. See also https://github.com/grumpyhome/grumpy
What are some alternatives?
When comparing ClosedTypeHierarchyDiagnosticSuppressor and grumpy you can also consider the following projects:
dunet - C# discriminated union source generator
qpdf - QPDF: A content-preserving PDF document transformer
borgo - Borgo is a statically typed language that compiles to Go.
pdfcpu - A PDF processor written in Go.