home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14336 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  2.3 KB

  1. Path: sparky!uunet!lhdsy1!kato.lahabra.chevron.com!hwrvo
  2. From: hwrvo@kato.lahabra.chevron.com (W.R. Volz)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: X: User simplicity vs code complexity
  5. Message-ID: <5411@lhdsy1.lahabra.chevron.com>
  6. Date: 24 Jul 92 15:52:36 GMT
  7. References: <TPAQUETTE.92Jul23134924@gumby.ita.lgc.com>
  8. Sender: news@lhdsy1.lahabra.chevron.com
  9. Organization: Chevron Oil Field Research Company
  10. Lines: 39
  11.  
  12. In article <TPAQUETTE.92Jul23134924@gumby.ita.lgc.com>, tpaquette@ita.lgc.com (Trevor Paquette) writes:
  13. |> 
  14. |>    I was talking to a cohort at work and we got to the subject of X and how
  15. |>  many lines of code it takes to do things in X etc..
  16. |> 
  17. |>    I came up with "X is the perfect example of User simplicity is directly
  18. |>  proportional to code complexity." Do you agree/disagree with this statement
  19. |>  and why?
  20. |> 
  21. |>  To open up a window, create a button, attach a callback to that button
  22. |>  when pushed, released and held, while tracking the mouse, takes up a alot
  23. |>  of lines of code. (Granted that will take alot of lines in any GFX system
  24. |>  but most likely more in X then any other)
  25. |> 
  26. |>    To know X and all the in/outs of it takes about 8 700 page manuals (O'Reilly
  27. |>  & Associate) to learn. Is there ANYONE out there who knows EVERYTHING in
  28. |>  these manuals? X is difficult to learn to program with, basically because
  29. |>  you don't know where to start!! There are many calls that do basically the
  30. |>  same thing (XAllocColor vs XAllocColorCells).
  31. |> 
  32. |>    How big is X going to get? When will it stop getting bigger? Who created
  33. |>  this monster in the first place? Oh well.. back to those manuals..
  34. |> 
  35. I'm not sure about this. Perhaps an direct relation between complexity and
  36. flexibility. The more flexible code is, the more complex it is. X is quite
  37. flexible ==> it also complex. In your example of creating a pushbutton,
  38. you either using Xt or Xm. What would you have to do to same thing with
  39. straight X? Probably a lot more. Consider that Motif has a series of
  40. *Simple creation routines. I wonder why? The flexibility of Motif and Xt
  41. made things more complex. so they simplfied. When writing code, a cohort
  42. of mine errs on the side of simplicity rather than complexity. He's usually
  43. right.
  44.  
  45. ======================
  46. Bill Volz
  47. Chevron Oil Field Research Co.
  48. Exploration Research/Geophysics Division.
  49. P.O. Box 446, La Habra, CA 90633-0446
  50. Phone: (310) 694-9340
  51.