order-graph
Joda-Money
order-graph | Joda-Money | |
---|---|---|
1 | 3 | |
1 | 638 | |
- | 0.3% | |
10.0 | 6.3 | |
over 1 year ago | 6 months ago | |
Haskell | Java | |
Creative Commons Zero v1.0 Universal | Apache License 2.0 |
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.
order-graph
-
64-Bit Bank Balances ‘Ought to Be Enough for Anybody’?
This only puts currency codes in the type system; and uses rational numbers for amounts.
This is definitely useful because you can have the type system tell you if you've implemented e.g. exchange rate conversion incorrectly. But it's also a hassle because you need to reify currency values discovered at runtime as types, which isn't pretty [1].
[1] https://github.com/runeksvendsen/order-graph/blob/eef0006cba...
Joda-Money
- 64-Bit Bank Balances ‘Ought to Be Enough for Anybody’?
-
[Production code] The previous dev thought it was ok to use floating point variables for money
Nice, I'd not heard of this before. Looks like it has more traction than Java Money (JSR-354).
-
please for the love of god just use google before you make yourself look stupid
Joda-money is more widely known and used for that purpose: https://www.joda.org/joda-money/
What are some alternatives?
0.30000000000000004 - Floating Point Math Examples
Membrane Service Proxy - API gateway for REST, OpenAPI, GraphQL and SOAP written in Java.
Chronicle-Core - Low level access to native memory, JVM and OS.
Modern Java - A Guide to Java 8 - Modern Java - A Guide to Java 8
sitemapgen4j - SitemapGen4j is a library to generate XML sitemaps in Java.
failsafe - Fault tolerance and resilience patterns for the JVM
Polyglot for Maven - Support alternative markup for Apache Maven POM files
Design Patterns - Design patterns implemented in Java
Jimfs - An in-memory file system for Java 7+
jsr354-ri - JSR 354 - Moneta: Reference Implementation
javaslang-circuitbreaker - Resilience4j is a fault tolerance library designed for Java8 and functional programming
XMLBeam - Java XML library. A really cool one. Obviously.