On 5/03/20 11:09 pm, Steve Barnes wrote:
just about any financial calculations for example - I have seen quite
a lot of such code that works in pennies or cents and then scales the
results for example.

But how much real-world financial code uses hard-coded amounts of
money, rather than reading them as input, or getting them from a
database or config file?

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/URSFLWC2J6JWLWLS2R7POJKH3Z4QNT6I/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to