octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: classes and private


From: Paul Thomas
Subject: Re: classes and private
Date: Fri, 14 May 2004 17:55:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Do you mean the underlying classes for the standard Matlab types or classes in the Matlab language? I presume that it is the latter.....

If you are contemplating taking this on, can I get in my 10 cents worth, please?

Having written applications for Matlab with my own classes, I must say that I am not very convinced that theirs is the way to go. It is striking that once a good number of operators and intrinsic functions are overloaded, the @mydatatype directory becomes seriously filled with files. This means that, for a complicated class, with many functions, you have to get the design right first time. Otherwise, the modifications span a large number of separate files. I would much prefer a function that calls on a single class definition file, which defines the objects, the actions of operators and the functions.

Best regards

Paul T

Paul Kienzle wrote:

Has anyone been working on implementing matlab-like classes and private directories?

Paul Kienzle
address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]