Re: OOP Packages
- To: mathgroup at smc.vnet.net
- Subject: [mg38645] Re: OOP Packages
- From: "Hermann Schmitt" <schmitther at netcologne.de>
- Date: Fri, 3 Jan 2003 00:15:05 -0500 (EST)
- References: <F185vLz2TNY2iQzGU880001c413@hotmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
Hello Orestis, see my comments in your text. Please, do not take my comments personally. I appreciate your work, but I have not understood it fully till now. Hermann Schmitt ----- Original Message ----- From: "Orestis Vantzos" <atelesforos at hotmail.com> To: mathgroup at smc.vnet.net Subject: [mg38645] OOP Packages > Hi there.. > I totally agree with you in that classes should be a handy way to transfer > data from one session to another! I am astonished about this statement, in your earlier email (mg38620) I read, that you need no classes. > BUT, I think that you should respect the natural way that Mathematica offers > for this task, namely 'packages'. I cannot see, why packages are natural, you only are accustomed to them! My classes are much more powerful, the functionality of the Matheamtica packages is only a small part of the functionality of the classes. My classes are part of my oo support. I think, it is very easy to work with my oo system. I would be very interested to see, how you program my small example in your way of OO, I think, you would need several pages. > So try to make a class look like a package > and save it in classic .m format, so that compatibility is ensured. A very > fundamental reason that your code is so unwieldy, is that a large part of it > is just about reading from your 'source file'. IMHO OOP should be > encapsulated in normal packages, in which case a simple << (Get) would > suffice. I can't think of a single reason someone would want to save in a > totally irrelevant format! > Regards, > Orestis > > > _________________________________________________________________ > MSN 8: advanced junk mail protection and 2 months FREE*. > http://join.msn.com/?page=features/junkmail >