Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Java Linux
what is the importance of oop?
Posted 17-Jun-12 16:35pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Unfortunately, this question is well beyond the format of Quick Questions & Answers forum and I cannot consider it as a really correct question. You need to study some literature seriously to understand this matter.
 
To get an idea, please see:
http://en.wikipedia.org/wiki/Object-oriented_programming[^].
 
OOP is not the only possible or an a priory superior programming paradigm.
 
To get some understanding of this matter, you really need to develop some object-oriented projects. You should also clearly understand, that uses some classes or even virtual, abstract or override keywords does not make a project object-oriented. You need to use OOP formalities the way it really and essentially uses object-oriented functionality like dynamic dispatch of polymorphism in a ways vital to your program functionality.
 
Sorry, but direct answer to the question about importance is impossible in principle, because the term "importance" is too vague and because any limited-size fixed judgment on this complex matter would appear as a pure lie, which I would prefer to avoid.
 
—SA
  Permalink  
v2
Comments
stib_markc at 18-Jun-12 0:37am
   
My 5!
Sergey Alexandrovich Kryukov at 29-Jun-12 22:41pm
   
Thank you.
--SA
SoMad at 18-Jun-12 1:28am
   
+5 from me. The question actually sounds like homework.
 
Soren Madsen
Sergey Alexandrovich Kryukov at 29-Jun-12 22:41pm
   
Thank you Soren.
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

// what is the importance of a red pen?
May be its color ?
 
// what is the importance of oop?
The OO, of course Smile | :)
  Permalink  
Comments
enhzflep at 18-Jun-12 3:27am
   
Ha ha ha. :-)
 
I had considered saying that without it and a little L it's hard to do things repeatedly.
 
On a more serious note, a good analogue is the car industry.
 
The manufacturer _could_ create a new engine for each different model of car it produced.
 
It doesn't though, since it's much cheaper to design the engine once then use it as a module (or a class in programming lingo) in many different models of car(programs).
Sergey Alexandrovich Kryukov at 29-Jun-12 22:49pm
   
Yes, only the reuse along is not the justification for OOP only.
On even more serious note: "What is the importance of..." makes no sense, but this is related to big and complex problems. Do you know the notion of "technosphere"? As the atmosphere was shaped by many organisms, and present day biota do nearly the same things, all use oxigen cycle, etc, we live in technospehere. If we want to produce bolts and nuts, it should of certain thread step, diameter and heat size and shape, from a certain known set, otherwise they cannot be used. At the same time, creating a new kind of bolt is possible, just much more difficult. Same thing is software. Too many things are interconnected, but not in one specific product -- in the whole big culture. In such situation, it's too difficult to talk about "importance".
--SA
enhzflep at 30-Jun-12 0:54am
   
:grins:
Heard the word technosphere, understand the concept from your description - have not had occasion to use it yet.
 
The interesting thing about human-based language is that it's syntax is immeasurably less strict than that of programming languages. Not only can one say something in a way that is awkward and be understood, but one can also say something in a way that is just plain incorrect and still be understood.
 
Almost certainly, you and the OP share the fact that English is not your first language. Whenever one is communicating with someone else the speaker's age, sex, religion, first language (amongst many other criteria) all have a direct bearing on how something may (must) be interpreted in order to actually understand the idea that is trying to be communicated.
 

In the case of this question, the OP is from the Philipines, is a very new member & who has just 1 post (this one) under their belt. The sentence is incorrectly capitalized and the seemingly obvious abbreviation what is --> what's wasn't used. Also as you went to great lengths to point out, the question is of awkward or nonsensical phrasing.
 
I took this information into account when considering the likely depth of their programming background. As a laugh, I made the whole 'loop' play on words. I then tried to use a rough analogy that I considered would translate easily via translate.google and would pose a low barrier to grasping some of the advantages of the OOP approach.
Sergey Alexandrovich Kryukov at 30-Jun-12 14:04pm
   
I'm not sure how you understood it, because you cannot use or not use the technosphere: this is something we all live in.
 
Interesting discussion. As to the lack of strictness and infinite irregularity of native language. Interestingly, it highly depends on the language. Of course, English is also full if irregularities and a great number of unpredictable exclusions and special cases, which one needs just to know. At the same time, in you compare English with Russian, English looks like almost absolutely regular next to Russian. Russian is something which is almost impossible to learn. (Of course I make mistakes in English and not in Russian, but this is relatively rare: an average Russian person makes good amount of mistakes in Russian, or try to simplify the speech to write it; and makes some mistakes orally; I don't even mean people speaking local dialects.)
 
Are you talking about effect of the language on knowledge? There is such thing (long time ago, I've read a paper proving that people of tone-based languages (like Mandarin, Cantonese, Vietnamese and many more) develop different specialization of brain semi-spheres), but I'm sure the possible adverse effect of such differences can be overcame when it comes to science, technology, philosophy, even part of literature, because the major part real knowledge is non-verbal. Same with OOP... :-)
 
Thank you for interesting discussion...
--SA
Sergey Alexandrovich Kryukov at 29-Jun-12 22:41pm
   
Good point, my 5. :-)
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 553
1 George Jonsson 258
2 OriginalGriff 235
3 CPallini 210
4 PIEBALDconsult 155
0 OriginalGriff 5,865
1 Sergey Alexandrovich Kryukov 5,316
2 CPallini 4,760
3 George Jonsson 3,400
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 18 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100