Path: utzoo!attcan!uunet!umich!wuarchive!mit-eddie!bloom-beacon!eru!hagbard!sunic!mcsun!unido!ztivax!ap542!thomas From: thomas%apgraph@ap542.UUCP (Thomas Oeser (SNI AP 153)) Newsgroups: comp.lang.objective-c Subject: Re: You know what I hate..... Message-ID: <961@ap542.uucp> Date: 29 Oct 90 11:13:47 GMT References: <-T4%8D_@rpi.edu> Sender: news@ap542.uucp Reply-To: thomas%apgraph@ap542.UUCP (Thomas Oeser (SNI AP 153)) Organization: Siemens Nixdorf Informationssysteme AG Lines: 46 Hi, We are programming with Objective-C and X-Window already for a while now and we hit the same problems. Here our solutions: In article <-T4%8D_@rpi.edu>, mcintyre@turing.cs.rpi.edu (David McIntyre) writes: |> |> ... stuff deleted ... |> |> struct { |> int x; /* numerator */ |> int y; /* denominator */ |> } min_aspect, max_aspect; |> int base_width, base_height; The only thing that helps here is to double the definition as follows struct _Aspect { int x; /* numerator */ int y; /* denominator */ } min_aspect; struct _Aspect max_aspect; |> |> Another problem arises from Object and String, two words defined and |> used by both X and Objective-C. Basically, I believe that Objective-C and everybody(thing) else should name its root node more specific, since "Object" is to easy to be used by somebody else. Thomas Oeser *********** DISCLAIMER: All opinions stated here are strictly my own ***** -------------------------------------------------------------------------- Internet: thomas%apgraph%ap542@ztivax.siemens.com Europe: thomas%apgraph%ap542@ztivax.UUCP UUCP: ...!uunet!mcsun!unido!ztivax!ap542!apgraph!thomas Phone: + 49 89 636 47537 Fax: + 49 89 636 45522 Postal Mail: Siemens Nixdorf Information Systems AG, AP 153, Carl-Wery-Str. 22, D-8000 Munich 83, West Germany --------------------------------------------------------------------------