Falsehoods Programmers Believe About Money

A presentation at NodeConf Remote by Sarah Dayan

Money is more complex than you think. It’s way more than what you can stuff in a number type. Whether it’s because of floating-point math or domain-specific overlooks, the money domain is riddled with gotchas that we, as programmers, often learn the hard way.

For the last 4 years, I’ve been building Dinero.js, a library to handle money in JavaScript and Node.js. Together, we’ll go over common falsehoods programmers believe about money and how to solve them to accurately and safely represent money in a JavaScript program.