home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18798 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  4.4 KB

  1. Path: sparky!uunet!decwrl!waikato.ac.nz!ldo
  2. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: MacBureaucracy
  5. Message-ID: <1992Nov23.165558.12398@waikato.ac.nz>
  6. Date: 23 Nov 92 16:55:58 +1300
  7. Organization: University of Waikato, Hamilton, New Zealand
  8. Lines: 70
  9.  
  10. I remember a saying from somewhere, to the effect that any piece of software
  11. reflects the organizational structure that produced it. I guess one corollary of
  12. this is that arbitrary, inexplicable divisions within the organization will
  13. manifest themselves as arbitrary, inexplicable divisions between the functions
  14. of the software.
  15.  
  16. This is starting to manifest itself in several places in the Mac system. One
  17. of the first ones to strike me was the popup menu CDEF that comes as part of
  18. the Comms Toolbox. Sure, a popup menu control is useful in a lot of contexts,
  19. not necessarily communications-related, and it's good of the CTB people to
  20. make it available in such a general form. But it remains a feature that you
  21. only get on a CTB-enabled system, as (face it) a sort of kludge on the
  22. existing Toolbox architecture.
  23.  
  24. QuickTime has introduced a few more examples. The Image Compression Manager
  25. in QuickTime 1.5 adds a nice collection of window-alignment services, that
  26. take into account all the intricacies of pixel depth and CPU type, to ensure
  27. that screen drawing is as fast as possible. I wouldn't describe these routines
  28. as a kludge; they are well thought out, and are of very general use.
  29. Nevertheless, you call them through the Image Compression Manager trap, and
  30. they are only available if you have QuickTime installed.
  31.  
  32. Another example is the Standard Compression Dialog in QuickTime 1.5. Tucked
  33. away among the functions it provides are some general calls for positioning
  34. dialogs on the screen. These support options for centering the dialog on the
  35. main screen, or on the best (deepest) screen. Again, useful in lots of contexts
  36. outside of getting compression settings from the user, but only available
  37. by first loading the Standard Compression Dialog.
  38.  
  39. In all these cases, it seems obvious what happened: the authors of these
  40. pieces of system software found that they needed these functions, and that
  41. they hadn't already been implemented by the groups which should have been
  42. responsible for them. Luckily they had the good idea of making the functions
  43. available in a general form for others to use.
  44.  
  45. While on the subject of QuickTime, it seems to me that if you implement some
  46. function as a "component" (i e using the Component Manager), then the idea is
  47. that there may be other components of the same type, that might be available
  48. to choose from or that might even replace the original component. There are
  49. clearly a couple of collections of QuickTime services that don't fit into
  50. this category, namely the Standard Compression Dialog and the Sequence Grabber.
  51.  
  52. We-ell, you *might* want to replace the Standard Compression Dialog with
  53. alternatives (and perhaps delegate such utility functions as the dialog-
  54. positioning ones back to the original). And the Sequence Grabber supports all
  55. kinds of additional plug-in component types which handle various parts of the
  56. details of movie grabbing. But the Sequence Grabber Component *itself* doesn't
  57. strike me as something you might want to replace.
  58.  
  59. What happened here? Perhaps these functions appeared later, and were not part
  60. of the original QuickTime plan. Perhaps they were seen as experimental add-ons,
  61. that could be tried out and removed if necessary without impacting the rest of
  62. the design. Or maybe they were being miserly with A-trap allocations that
  63. week...
  64.  
  65. I'll freely admit it: all the specific concerns I've raised so far can be seen
  66. as trivial, nit-picking ones. But I can't help wondering: as the OS gets even
  67. more complex, this could very well be a foretaste of worse things to come. I
  68. *hope* Apple will never let things get to the stage where the Mac system becomes
  69. seriously complex and unwieldy, because of lack of coordination and duplication
  70. of effort between different groups; I hope that, even as I speak, work is
  71. under way to keep these sorts of occurrences to a minimum in future.
  72.  
  73. I just hope it's not too late...
  74.  
  75. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  76. Computer Services Dept                     fax: +64-7-838-4066
  77. University of Waikato            electric mail: ldo@waikato.ac.nz
  78. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00
  79. It's 30 milliseconds to timeout. Do you know where your ACK packets are?
  80.