Hacker News new | ask | show | jobs
by jt-hill 197 days ago
Author here. I thought was doing what I was supposed to do by using Decimals heavily in my credkit[0] Python library, but I did some testing and discovered it wasn't worth the pain for me. Test code [1] is available for the curious.

The moral of the story is that "best practices" are not a substitute for using your brain.

[0]: https://github.com/jt-hill/credkit

[1]: https://gist.github.com/jt-hill/839e1a6c51d28cbcb8fc69e61431...