I may be wrong, but generally it is considered a bad practice mixing GUI
code with "service" code.

It is a matter of encapsulation, and in OOP it is one of the most
important feature.

Yes, less code not always means easy code..., it's just my opinion and
I'm not criticizing.

Regards,

Jesus

l 13/05/10 14:24, Jussi Lahtinen escribió:
>> (I think it is not a good idea to make public controls)
> 
>  Just for interest, why? What is the downside?
>  Maybe it is easier to write not so nicely structured code with public 
> controls,
>  but in this case I may prefer way that creates less code.
>  I think they are both fine...
> 
> Jussi
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 


------------------------------------------------------------------------------

_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to