Jump to content

Missing the "Object" part of OOP


TheAntipop

Recommended Posts

I recently completed my Associates Degree in programming from a local community college.  I've been exposed to a few object oriented languages, including C++, Java, Visual Basic, and PHP.  The thing that bothers me is that the whole concept of objects seemed kind of glossed over in the curriculum. 

 

I mean, I obviously know what they are and how they function, but we hardly used them at all in practice.  Of course, I frequently used objects and classes from the API for common procedures.  For example, in Java to parse a text field I might use Integer.parseInt( jtextfield.getText() ).  Or to create the GUI there was always a whole series of GUI objects instantiated (i.e. randomJTextField = new JTextField() followed by the definition of its properties). 

 

But we very rarely created our own classes and objects.  Normally, the whole program was written in one class, and we would write methods (or functions) to handle different tasks and call them when needed.  As a result, my whole concept of objects is a bit fuzzy.  The few times we used them, I found the whole instantiation of objects to be somewhat confusing. 

 

Having earned a programming degree without utilizing the Object aspect of Object Oriented Programming (which seems kind of important), I can't help but feel a bit cheated.  My current view of objects is that they are not necessary to use, they are just a way of organizing your program and making it easier to re-use code.  Is this wrong? 

 

Do programming jobs out in the real world place high importance on using objects?  I am about to write a resume and start job hunting, but I am kind of concerned about my weakness in this area.  Any advice would be appreciated.

Link to comment
Share on other sites

I can totally understand you. This was how I felt for years, before something 'clicked' in my head and I finally understood why OOP can be useful.

Browse the web for "Design patterns". It explains a lot.

Link to comment
Share on other sites

I recently completed my Associates Degree in programming from a local community college.  I've been exposed to a few object oriented languages, including C++, Java, Visual Basic, and PHP.  The thing that bothers me is that the whole concept of objects seemed kind of glossed over in the curriculum. 

 

I mean, I obviously know what they are and how they function, but we hardly used them at all in practice.  Of course, I frequently used objects and classes from the API for common procedures.  For example, in Java to parse a text field I might use Integer.parseInt( jtextfield.getText() ).  Or to create the GUI there was always a whole series of GUI objects instantiated (i.e. randomJTextField = new JTextField() followed by the definition of its properties). 

 

But we very rarely created our own classes and objects.  Normally, the whole program was written in one class, and we would write methods (or functions) to handle different tasks and call them when needed.  As a result, my whole concept of objects is a bit fuzzy.  The few times we used them, I found the whole instantiation of objects to be somewhat confusing. 

 

Having earned a programming degree without utilizing the Object aspect of Object Oriented Programming (which seems kind of important), I can't help but feel a bit cheated.  My current view of objects is that they are not necessary to use, they are just a way of organizing your program and making it easier to re-use code.  Is this wrong? 

 

Do programming jobs out in the real world place high importance on using objects?  I am about to write a resume and start job hunting, but I am kind of concerned about my weakness in this area.  Any advice would be appreciated.

 

Object instantiation and use is a key component to OOP.  There's really no way around it in the real world.  Even in OO languages like Java or C#, where there are libraries of code/objects available for you to use, you'll inevitably need to roll your own at some point.

Link to comment
Share on other sites

My current view of objects is that they are not necessary to use, [...]

 

Well, you're right, they aren't. Assembly, C, Haskell, ML, Lisp, Scheme, Prolog, etc. are all languages without an object model. "Not necessary" is not the same as "not useful" though.

Link to comment
Share on other sites

My current view of objects is that they are not necessary to use, [...]

 

Well, you're right, they aren't. Assembly, C, Haskell, ML, Lisp, Scheme, Prolog, etc. are all languages without an object model. "Not necessary" is not the same as "not useful" though.

 

What Daniel says is very true.  But if you're looking for a job then you definitely want to learn OOP because there is a larger job market for those languages.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.