home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14296 < prev    next >
Encoding:
Text File  |  1992-07-23  |  2.6 KB  |  54 lines

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