10 ms·
Agree with this, working from HFT to payments to account management in the past. You can have the blockchain team be an expert in converting integer cents, or
by DetroitThrow 3mo ago
Agree with this, working from HFT to payments to account management in the past.
You can have the blockchain team be an expert in converting integer cents, or the forex team be an expert in sub-cent conversions. You don't want to require _every team_ to have expertise in float math, by default.
- lxgr 3mo agoBig decimals are widely available and don’t require any expertise but avoid many of the footguns of implied decimal integers.
- Maxatar 3mo agoImagine advising someone who explicitly said they work in HFT to use big decimals.
- m00x 3mo agoBigDecimal should be used by almost everyone except for HFT since they're really slow.
- DetroitThrow 3mo agoWhen performance isn't a concern, I largely agree! Not every financial system can use big decimal as their base, though, too. And HFT isn't the only place in the financial sector where this performance concern might pop up.