Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!.POSTED!not-for-mail From: Willem Newsgroups: comp.programming Subject: Re: Object oriented programming? Date: Sat, 1 Jun 2013 07:54:53 +0000 (UTC) Organization: Stack Usenet News Service Lines: 33 Message-ID: References: NNTP-Posting-Host: turtle.stack.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: mud.stack.nl 1370073293 25617 2001:610:1108:5010::132 (1 Jun 2013 07:54:53 GMT) X-Complaints-To: abuse@stack.nl NNTP-Posting-Date: Sat, 1 Jun 2013 07:54:53 +0000 (UTC) User-Agent: slrn/0.9.9p1 (FreeBSD) Xref: csiph.com comp.programming:3405 root wrote: ) My programming experience began before the advent of Object Oriented ) Programming so the concepts are vague to me. It would help if ) someone could sketch out how OOP would enter into some of tasks ) I have done. In my personal experience with OO programming, 90% of the time, in application programming, you just *use* the objects that exist in the framework (or in additional libraries you need for the app) and only 10% of the time, you have to create your own objects. And in only 10% of those cases where you create objects, it's beneficial to use OOP stuff like inheritance. Now, in C# there is the concept of extension methods, which means you don't have to inherit classes if you want to add one or two helper functions to them. I've seen business applications that were modeled from an OOP standpoint, with inheritance and the whole shebang, and they were a nightmare. So, my advice is: First start to learn by *using* objects. Then you gradually see how the objects in the framework work together, and then at some later point you will probably realise that there are some things in your own app that could benefit from OOP thinking. SaSW, Willem -- Disclaimer: I am in no way responsible for any of the statements made in the above text. For all I know I might be drugged or something.. No I'm not paranoid. You all think I'm paranoid, don't you ! #EOT