Vogen
SiUnits
Vogen | SiUnits | |
---|---|---|
8 | 2 | |
654 | 3 | |
- | - | |
9.0 | 0.0 | |
about 20 hours ago | over 1 year ago | |
C# | C# | |
Apache License 2.0 | MIT License |
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.
Vogen
-
Is it just mean, or is C# easier to learn than JavaScript or even PHP?
Check this out: https://github.com/SteveDunn/Vogen
- Primitive obsession
- Where to convert input to Value Object in Clean Architecture?
-
Strong typedefs
There is nothing buildin for this, but take a look at https://github.com/SteveDunn/Vogen
-
The type system is a programmer's best friend
I usually run into issues at the boundaries in the system.
Usually moving from primitives into complex types does not account for serialization and deserialization between db and the client. This can be very annoying to work with in something like C#.
Usually it ends up resulting in alot more types and a lot more mapping between types.
However this has its own benefits, but is very boilerplate-y and is sluggish to work with when your domain changes.
Luckily, for C#, https://github.com/SteveDunn/Vogen now exists thanks to source code generators which soothes some of the issues.
- Vogen - a .NET Source Generator and code analyser for Value Objects
-
Stay safe with your units! Here's how Units of Measure could work in .NET.
Perhaps it could be combined with this: https://github.com/SteveDunn/Vogen So, you could do this:
SiUnits
-
JWST has successfully deployed its forward sunshield pallet! Next up: aft sunshield deployment
I have written software to do something like that in C#: https://github.com/otac0n/SiUnits
- Stay safe with your units! Here's how Units of Measure could work in .NET.
What are some alternatives?
LikeType - Provides 'typedef' type functionality to C#
common - Gemstone Common Library
EngineeringUnits - Working with units made easy with automatic unit-check and converting between units
UnitsOfMeasure - Conceptual repo. Most advanced compile time safe units of measure for C# and F#
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
swift-tagged - 🏷 A wrapper type for safer, expressive code.
Vogen.Serialization - Serializers for Vogen
ValueOf - Deal with Primitive Obsession - define ValueObjects in a single line (of C#).
UnitsNet - Makes life working with units of measurement just a little bit better.
Squants - The Scala API for Quantities, Units of Measure and Dimensional Analysis