home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.centerline.com!noc.near.net!hri.com!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!umd5!mac19-pg2.umd.edu!user
- From: de19@umail.umd.edu (Dana S Emery)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: ThinkC or ThinkPascal?
- Message-ID: <de19-121192093433@mac19-pg2.umd.edu>
- Date: 12 Nov 92 15:04:55 GMT
- References: <1992Nov7.225952.18033@bert.eecs.uic.edu>
- Sender: news@umd5.umd.edu
- Followup-To: comp.sys.mac.programmer
- Organization: personal
- Lines: 64
-
- In article <1992Nov7.225952.18033@bert.eecs.uic.edu>,
- inglehar@bert.eecs.uic.edu (James Inglehart) wrote:
- >
- > I've used Macs for years, but never programmed one. Now I need to
- > develop a GUI front-end for some existing software (with drawing
- > and graphing capabilities) that runs on the Mac
- > [...]
- > ThinkC or ThinkPascal or something else? What
- > else do I need to get started? (ResEdit, I assume. What's the
- > latest version?) What books should I use? The "ThinkC Programming
- > Primer?" How soon will I need "Inside Macintosh" Vols. 1-6?
-
- My first Mac experience was in Think Pascal. I have since started working
- in Think C.
-
- If you are importing C code, you might do better to use Think C, otherwise
- I would recommend Pascal.
-
- I say Pascal for the strength of its debugger, which is considerably more
- intuitive to use thatn its C counterpart. Pascal projects have several
- virtues over their C cousins, in that they are not as subject to casual
- corruption during debugging, and they are also much more definative as to
- where your source files are actually located, which eases large project
- management headaches. Pascal projects also tend to occupy 40% less disk
- than comparable C projects, for reasons I dont fully understand.
-
- Unfortunatly, much more C PD code exists, and C code is more capable of
- being optimized, as the Think C has an integral assembler, which Pascal
- sadly lacks.
-
- Either language is bundled with the Think Class Library, which you may find
- especially usefull, as it takes on a lot of the burden of designing the UI.
- You should be comfortable with OO design concepts before leaping at this
- tho, as the available literature is minimal.
-
- You might consider AppMaker for assistance with the intial UI work.
-
- ResEdit 2.1.1 is the latest version I know of, at least 2 books are
- available which discuss its use in depth. MacsBug 6.2.2 is the current
- machine level debugger, a good book is available for it as well.
-
- A Subscription to the Apples Develop Magazine is cheap, and the articles
- are especially deep. Mactutor is also usefull. Back issues of both are
- good.
-
- This groups FAQ will point
-
- You will need IM from the start, you might be able to get away with just
- the second edition, I would pay particular atention to the Memory volume,
- as Mac memory management issues are the bane of most debugging schedules.
- The original Mac had a very small memory, and so emerged the Handle and the
- heap.(read all about it)
-
- Just remember, dont worry if a particular trap call or function reference
- might move memory, just assume it does, lock dereferenced handles, and
- youll be alright.
-
- Hope you can find a good users group, or maybe some experienced Mac
- programmers around you, this beast is wicked to master under time pressure.
-
- good luck
- --
-
- Dana S Emery <de19@umail.umd.edu>
-