Lists Home |
Date Index |
> Here's a Water program that creates a class, defines a method,
> creates an instance, and call a method on the instance.
> <defclass company stock_symbol price revenue expenses>
> <defmethod PE_ratio>
> .price.<divide .revenue.<minus .expenses/> />
Wow. This reads to me like a very strangely obfuscated species of CLOS. The
"compatible" debate aside, I really have a hard time imagining how developers
will go for this.
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Python Generators + DOM - http://www.xml.com/pub/a/2003/01/08/py-xml.html
4Suite Repository Features - https://www6.software.ibm.com/reg/devworks/dw-x4su
XML class warfare - http://www.adtmag.com/article.asp?id=6965
MusicBrainz metadata - http://www-106.ibm.com/developerworks/xml/library/x-thi