Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

yet with all those a) b) c) d) they still use that. Point is not "I call stripe api". Point is - those companies, that process wast amount of transactions, use integers. Probably for a reason. And its not in cents rather _minor units_ which you as working in fintech should ought to understand the difference


> And its not in cents rather _minor units_ which you as working in fintech should ought to understand the difference

Erm, did you see the quotation marks around "in cents" ? It's a _quote_ from the docs at the link. The link _that you gave_.

The issue is not "do you or I understand the difference", it's "does stripe" and "do stripe users, after reading that?"

It is simplistic, like the int, and is not making the point that this is great.


> Point is - those companies, that process vast amount of transactions, use integers.

Point missed, they use that format _on their client apis_, which tells you nothing about what they do in the code that handles it. Now it could be the same internally, in which case the reason is "there's crap code everywhere"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: