home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4826 < prev    next >
Encoding:
Text File  |  1992-08-12  |  2.5 KB  |  54 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!cs.utexas.edu!tamsun.tamu.edu!gergl.tamu.edu!chris
  3. From: chris@gergl.tamu.edu (Chris King)
  4. Subject: Re: A good example of OOP
  5. Message-ID: <12AUG199217290394@gergl.tamu.edu>
  6. News-Software: VAX/VMS VNEWS 1.41    
  7. Sender: news@tamsun.tamu.edu (Read News)
  8. Organization: Geochemical and Environmental Research Group - TAMU
  9. References: <1992Aug12.181130.27927@usenet.ins.cwru.edu>
  10. Date: Wed, 12 Aug 1992 23:29:00 GMT
  11. Lines: 41
  12.  
  13. In article <1992Aug12.181130.27927@usenet.ins.cwru.edu>, br707@cleveland.Freenet.Edu (Mike L. Melamed) writes...
  14. >Can someone provide me with a good demo of OBJECT ORIENTED PROGRAMMING?
  15. >I know the concepts and everything but lack a good example from which I 
  16. >could fully understand it. I tried TurboVision but it's way too hard to
  17. >jump from 0 to 100, you know what I am saying?
  18.  
  19. Hello, Turbo pascal's object oriented stuff was rather difficult to grasp at
  20. first, and took alittle "brain reformatting".  My suggestion is to drop the
  21. concept of controling the computer, if you plan to use a windowing event
  22. driven enviroment, and adopt the concept of servicing events.  That is
  23. really a hard thing to swallow for someone who is acustom to having control.
  24.  
  25. Good programmers of the past, where marked by there ability to get into the
  26. system and make it do anything they wanted.  I beleive that is of days gone
  27. by.  Good programmers of the future will be more designers, and problem 
  28. solvers rather than Hackers, and will require a more professional approach.
  29. (I am in no way implying that "hackers" are unproffesional.)  Good object
  30. oriented programming comes from good planning in the initial stages.  It is
  31. next to impossible to just sit down a "bang out" a program.  The manuals
  32. in TPW can't really explain this, because it is not the subject the manuals
  33. are for.  Object oriented things are... I think I'm rambling on about
  34. philosophy.
  35.  
  36. Anyway the hardest thing I found about OOP was the lack of information
  37. about what is inherited.  TPW comes with a great number of objects that
  38. all interact with each other to give the ObjectWindows enviroment.  I was
  39. confused until I became familiar enough with a the interactions (or at least
  40. enough of them) to be able to see how to use the system for my own
  41. purposes.
  42.  
  43. If youd like I have a wonderful object called a Tgraphwindow, that I would
  44. be glad to share with you, and I will even document it.  I will also be 
  45. glad to trade E-Mail messages with you about TPW.
  46.  
  47. Chris King
  48.  
  49. Chris@gerga.tamu.edu
  50.  
  51.