Michael Van Canneyt wrote:

Have ever tried to write code in a similar fashion as Java does?

No, because I write object pascal, not Java.

OO design patterns & principles apply across programming languages. You do not need to code in Java to use the same idea.

It's hard enough to implement well designed classes - and then having to fight the compiler too. One class (eg: TCustomer & TCustomerList) per unit is a clean design and help make unit testing so much easier.

But then again, I have managed for so many years - what's a few more. ;-)


Regards,
  - Graeme -

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to