Re: OOP in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg29111] Re: OOP in Mathematica
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 30 May 2001 05:50:26 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <b3AP6.274$y25.1892@ralph.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hermann Schmitt wrote: > > Hallo Mr. Kuska, > comment at the end > ----- Original Message ----- > From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de> To: mathgroup at smc.vnet.net > Subject: [mg29111] Re: OOP in Mathematica > Every expression in Mathematica has a "Head" - not only functions -, and I > think the head can be used as class in OOP. > Hermann Schmitt The head *is* the function call! BTW. Collecting the member functions in arguments of a function call is quite stupid, because Mathematica will allmost every time copy the function arguments when the unevaluated function is used. Regards Jens