Cashe
Finance and crypto
money library
SHOW HN2023
29points
7comments
#1,423of 3,109 in 2023
Top 46%of 2023 by points
How HN took it
QuietFewer than 5 comments about the project
1 positive, 1 neutral or asking, 0 mixed, 0 critical, out of 2 comments about the project.
Idea: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Interest in Ada and its tooling for precision money handling
From 2 comments
Cool. I always want to write my own beancount-clone with budgeting. How to deal with precision easily is one of the obstacles; now I wish I can write Ada!
jhvkjhk on HNHa, I guess ledge-like users are the only group caring this topic. Thank you, Ada gave me an ancient feeling because they chose the first programmer's name. It seems to have…
jhvkjhk on HN
Objections
Using a separate language for currency precision is overkill; a wrapper around big.js suffices
From 1 comment
I use a hand-rolled Money class that’s an ergonomic wrapper around big.js, an arbitrary precision decimal library. I think using a separate language is massive overkill.
sa46 on HN
Questions
Is it worth calling out to a language like Ada for currency precision in JavaScript?
From 1 comment
For those doing currencies in JavaScript, is it worth it calling out to a language like this that has better support for precision? How do you handle it in your code today?
khalidx on HN
Alternatives named
Hand-rolled Money class wrapping big.js
From 1 comment
I use a hand-rolled Money class that’s an ergonomic wrapper around big.js, an arbitrary precision decimal library. I think using a separate language is massive overkill.
sa46 on HN