Article View: comp.sys.mac
Article #3174Re: Real Multifinder
From: Steve Pool
Date: Thu, 17 Aug 1989 21:27
Date: Thu, 17 Aug 1989 21:27
18 lines
1554 bytes
1554 bytes
In article <1989Aug16.175351.24310@sj.ate.slb.com> enk@slcs.slb.com (Edan Kabatchnik) writes: > Granted, (parts of) UNIX should be done away with. But, there is a >superior form to the main event loop: callbacks (found in X and Xerox >Artificial Intelligence Workstations from which the Macintosh developed its >user interface.) Instead of having to dispatch on every possible event in the >main event loop, one establishes a hook that is automatically called when an >event takes place. This is how the Presentation Manager handles events (messages, in PMSpeek), and it makes dealing with the event driven model much cleaner, in my opinion. Dispatching becomes a matter of merely writing your message handling functions, marking them as being exported so that they can be called from the PM DLLs, and then forgetting about them. I really think it's time for the Mac programming model to be updated. That's probably unreasonable, considering the amount of code that would undoubtedly cease functioning, but it would sure make me happy!
Technical Details
Message-ID:
<7420@microsoft.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!microsoft!t-stevepReferences:
<46100321@uxe.cso.uiuc.edu> <1989Aug15.001507.14552@sj.ate.slb.com> <24626@iuvax.cs.indiana.edu> <3576@internal.Apple.COM> <1989Aug16.175351.24310@sj.ate.slb.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!microsoft!t-stevep From: t-stevep@microsoft.UUCP (Steve Pool) Newsgroups: comp.sys.mac Subject: Re: Real Multifinder Message-ID: <7420@microsoft.UUCP> Date: 17 Aug 89 21:27:02 GMT References: <46100321@uxe.cso.uiuc.edu> <1989Aug15.001507.14552@sj.ate.slb.com> <24626@iuvax.cs.indiana.edu> <3576@internal.Apple.COM> <1989Aug16.175351.24310@sj.ate.slb.com> Reply-To: t-stevep@microsoft.UUCP (Steve Pool) Organization: Microsoft Corp., Redmond WA Lines: 18