> (1) I think there is great mileage in combining the > fixed-decimal concept with Martin Fowler's Quantity > pattern, so that a variable could be defined as not > just two decimal places but also (say) "GBP" or "USD", > and it would be an error to add the two. Same applies > for adding metres, kilograms and other quantities. > There has also been discussion that the 'type' of a > quantity should determine what math should apply. Isn't this something that is ideally suited for implementation in a Python module, based on a core implementation of fixed decimal numbers? -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4