4 ms·
For what it's worth, I work at a place that would write a similar domain object, and we would use both of those and not feel bad about it. The FUD on money as
by pgwhalen 7y ago
For what it's worth, I work at a place that would write a similar domain object, and we would use both of those and not feel bad about it.
The FUD on money as a double is way overblown in my opinion - it only becomes a bad idea once you have to do precise math with the it (which is admittedly a lot of the time when you're dealing with money, but surprisingly rarely in some domains).