My short opinion is that such extra flexibility would just 
increase chaos and help to create write-only code.

To me the cleanest so far class implementation is in Java, 
where each source file is one class, the name of the source 
file equals the class name.

Brgds,
Viktor

On 2009 Nov 15, at 08:44, José Luis Capel ~ CapelSoft wrote:

> Hi all,
>  
> I would like your opinion about the concept of 'partial class'.  For example:
>  
> //---> First.prg
> Class MyClass
>     DATA data1
>     METHOD MyMethod()
> EndClass
>  
> METHOD MyMethod() CLASS MyClass
> Return Self
>  
> //---> Second.Prg
> PartialClass MyClass
>     DATA data2
>     METHOD MyMethod()
> EndClass
>  
> METHOD MyMethod() CLASS MyClass
> RETURN {::Data1, ::Data2}
>  
>  
> In this hyphotetic example a unic class is divided into two diferents prg and 
> the result is the sum of the two classes.
>  
> Could it be implemented in Harbour??
> What is your opinion about that??
>  
> Thanks and regards,
> José Luis Capel
>  
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to