home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!tcsi.com!alka.tcs.com!sriram
- From: sriram@alka.tcs.com (Sriram Srinivasah)
- Subject: Re: X: User simplicity vs code complexity
- Message-ID: <1992Jul23.231553.3050@tcsi.com>
- Sender: news@tcsi.com
- Organization: Teknekron Communications, Inc
- References: <TPAQUETTE.92Jul23134924@gumby.ita.lgc.com>
- Date: Thu, 23 Jul 1992 23:15:53 GMT
- Lines: 42
-
- In article <TPAQUETTE.92Jul23134924@gumby.ita.lgc.com>, tpaquette@ita.lgc.com (Trevor Paquette) writes:
- >
- > I was talking to a cohort at work and we got to the subject of X and how
- > many lines of code it takes to do things in X etc..
- >
- > I came up with "X is the perfect example of User simplicity is directly
- > proportional to code complexity." Do you agree/disagree with this statement
- > and why?
- >
- > To open up a window, create a button, attach a callback to that button
- > when pushed, released and held, while tracking the mouse, takes up a alot
- > of lines of code. (Granted that will take alot of lines in any GFX system
- > but most likely more in X then any other)
- >
- > To know X and all the in/outs of it takes about 8 700 page manuals (O'Reilly
- > & Associate) to learn. Is there ANYONE out there who knows EVERYTHING in
- > these manuals? X is difficult to learn to program with, basically because
- > you don't know where to start!! There are many calls that do basically the
- > same thing (XAllocColor vs XAllocColorCells).
- >
- > How big is X going to get? When will it stop getting bigger? Who created
- > this monster in the first place? Oh well.. back to those manuals..
- >
- > --
- > Name : Trevor Paquette | Landmark/ITA | _\___ Fahrvergnugen
- > Email: tpaquette@ita.lgc.com | Calgary, Alberta, Canada | / \____
- > Visitor from CyberSpace | (403) 269-4669 | / G60 \
- > Renegade of Virtual Reality | #include <disclaimer.h> | \-O------O--/
-
- That is the reason you have widget sets, interface builders, tools like tcl/Wish,
- Wcl etc. You don't *have* to start building stuff from scratch (using Xlib, that
- is). I don't know the entire API of X - I develop Motif based stuff, and it is
- not a frequent occurence that one goes out to Xlib. When I need to do so, I have
- found that I have developed a fairly good sense for what to look.
-
- There may be 8 700 page manuals of O'Reilly, but you don't have to read and know
- all of it before you start developing. Read Douglas Young's book, for example,
- and you probably don't need to know Xlib exists. Use Motif/Uil, and bring up
- reasonable applications in 2 weeks.
-
- Sriram
- (sriram@tcs.com
-