Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!emory!gatech!mcnc!thorin!currituck!morse From: morse@currituck.cs.unc.edu (Bryan Morse) Newsgroups: comp.sys.mac.programmer Subject: Re: THINK C Suggestions Message-ID: <16704@thorin.cs.unc.edu> Date: 11 Oct 90 19:59:47 GMT References: <90283.224058CXT105@psuvm.psu.edu> Sender: news@thorin.cs.unc.edu Reply-To: morse@currituck.cs.unc.edu (Bryan Morse) Organization: University Of North Carolina, Chapel Hill Lines: 24 >Maybe we should move this discussion to comp.lang.c, where it belongs.... No, it should stay here (if anywhere). If you want to discuss the general question of a WHEN type construct in C, then yes, go there. But since we are, in general, discussing a problem unique (???) to the Mac, it would not be welcome there. Do you know what it's like to read comp.lang.c and here people repeatedly ask why they can't get their near and far pointers working correctly? Arrgh! The general question is: how do you efficiently (using C notation) double-dereference handles and access structure members, especially when chaining handle dereferences? This is a question that I think is a serious one and deserves discussion. I (for one) do not want to: 1. Modify C 2. Have the compiler do anything behind my back 3. Use a lot of silly parenthesis!!! Is there any better way? Bryan Morse morse@cs.unc.edu