[Python-ideas] the Quantity pattern

Blake Winton bwinton at latte.ca
Tue Mar 2 20:14:41 CET 2010


On 10-03-02 13:35 , Bill Janssen wrote:
> I was looking at Martin Fowler's Quantity pattern earlier.
>
> http://martinfowler.com/ap2/quantity.html
>
> I remember writing this up as an idea for Fortran back in the early
> 80's, only to find a CACM paper from 1978 exploring the idea:
> "Incorporation of Units into Programming Languages", Karr&  Loveman, May
> 1978.
>
> But it would still be a cool idea for Python.  Perhaps it's already
> there and I haven't noticed?

Were you thinking of something like 
http://www.arandonohue.com/hg/hgwebdir.cgi/units/file/bde33c01abd3/units/__init__.py#l1 
?

Later,
Blake.



More information about the Python-ideas mailing list