Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!endor!siegel From: siegel@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: OOP & LSP (oops, Think Pascal) Message-ID: <1887@husc6.harvard.edu> Date: 21 May 89 16:37:48 GMT References: <1384@ndmath.UUCP> <1927@internal.Apple.COM> <18612@cup.portal.com> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Organization: Symantec/THINK Technologies, Bedford, MA Lines: 30 In article <18612@cup.portal.com> -Cheshire-@cup.portal.com (Gary Edward Learned) writes: >I am in the process of redevising my skeleton program and pieces/parts >of code (after all, who codes from scratch?) to make use of an object >oriented stratagy. As I am using Thinks LSP, I cannot use MacApp at this time >Has anyone already done this, and if so, what tips/code fragments/ >suggested reading can you reccomend? I've done precisely this; I have a program of moderate size (~20,000 lines of code, 170K built) that uses multiple document types, and as such was an ideal candidate for a rewrite in Object Pascal. There are no special tricks, but remember that inheritance is your friend. In some cases I was able to cut the amount of source in half or even more... The program took about two weeks to rewrite, and is much easier to debug and maintain, since in many cases there's only one set of UI code to maintain. --Rich ~~~~~~~~~~~~~~~ Rich Siegel Staff Software Developer Symantec Corporation, Language Products Group Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel "She told me to make myself comfortable, so I pulled down my pants and sat in the pudding." -Emo Phillips ~~~~~~~~~~~~~~~