Login

Welcome, Guest. Please login or register.

September 11, 2025, 03:23:45 am

Author Topic: Object Oriented VS Procedural approach  (Read 1764 times)  Share 

0 Members and 1 Guest are viewing this topic.

MJRomeo81

  • Part of the furniture
  • *****
  • Posts: 1231
  • Princeps
  • Respect: +167
Object Oriented VS Procedural approach
« on: September 15, 2012, 01:56:26 am »
0
I figured I would start a general thread discussing programming paradigms. While this isn't part of the VCAA course, I was wondering what the general consensus on this board seems to be. Has anyone coded with OO principles before?
Currently working in the IT Industry as an Oracle DBA (State Government)

Murphy was an optimist

Bachelor of Information Technology @ La Trobe (Melbourne) - Completed 2014
WAM: 91.96
The key, the whole key, and nothing but the key, so help me Codd.

Subjects I tutored during my time at LTU:
CSE2DBF (Database Fundamentals)
CSE1IS (Information Systems)
CSE2DES (System Design Engineering)

Quote
“If I had an hour to solve a problem I'd spend 55 minutes defining the problem and 5 minutes thinking about solutions.”
― Albert Einstein

Lasercookie

  • Honorary Moderator
  • ATAR Notes Legend
  • *******
  • Posts: 3167
  • Respect: +326
Re: Object Oriented VS Procedural approach
« Reply #1 on: September 20, 2012, 10:02:27 pm »
0
I've played around with it a bit before, but didn't venture too far into it (didn't get my head completely around concepts like inheritance, polymorphism etc. ) I think a lot of it went over my head, but it made a bit of sense when I tried coding a bit in it.

I think I indirectly dealt with it using Tkx for GUIs in Perl for ITSD. Widgets are objects etc. There's "object descriptions" listed as a design tool in the VCAA glossary. I assume the same for VB.Net. I know Python is fairly similar in that regard too.

For Perl at least, I didn't really go into the real concepts and approach you take for OO though (I guess the handy thing about most languages being multi-paradigm).
« Last Edit: September 20, 2012, 10:08:45 pm by laseredd »

paulsterio

  • ATAR Notes Legend
  • *******
  • Posts: 4803
  • I <3 2SHAN
  • Respect: +430
Re: Object Oriented VS Procedural approach
« Reply #2 on: September 20, 2012, 10:15:20 pm »
0
Although I've never really programmed a project big enough for object-oriented concepts to be of use, I've implemented things like inheritance and polymorphism before, when I was learning about object-oriented programming.

My view is that the bigger your project, the more you'll benefit from object-oriented programming purely because it encourages planning and structure over writing heaps of code without thinking about how it all relates.

Yendall

  • Victorian
  • Forum Leader
  • ****
  • Posts: 808
  • Respect: +38
Re: Object Oriented VS Procedural approach
« Reply #3 on: September 27, 2012, 11:36:14 am »
0
I've played around with it a bit before, but didn't venture too far into it (didn't get my head completely around concepts like inheritance, polymorphism etc. ) I think a lot of it went over my head, but it made a bit of sense when I tried coding a bit in it.

I think I indirectly dealt with it using Tkx for GUIs in Perl for ITSD. Widgets are objects etc. There's "object descriptions" listed as a design tool in the VCAA glossary. I assume the same for VB.Net. I know Python is fairly similar in that regard too.

For Perl at least, I didn't really go into the real concepts and approach you take for OO though (I guess the handy thing about most languages being multi-paradigm).
VB.net is object-oriented.
2013 - 2016: Bachelor of Computer Science @ RMIT
2017 - 2018: Master of Data Science @ RMIT
ΟΟΟΟ
VCE '12: | English | I.T: Applications | I.T: Software Development | Music Performance Solo |  Further Mathematics | Studio Arts |

paulsterio

  • ATAR Notes Legend
  • *******
  • Posts: 4803
  • I <3 2SHAN
  • Respect: +430
Re: Object Oriented VS Procedural approach
« Reply #4 on: October 03, 2012, 09:58:49 am »
0
Most modern languages are object oriented, but it's really up to the programmer whether to see their programming as object-oriented and whether they use object-oriented styles.

Yendall

  • Victorian
  • Forum Leader
  • ****
  • Posts: 808
  • Respect: +38
Re: Object Oriented VS Procedural approach
« Reply #5 on: October 03, 2012, 02:36:18 pm »
0
Most modern languages are object oriented, but it's really up to the programmer whether to see their programming as object-oriented and whether they use object-oriented styles.
Yeah this is true :)
What would be an example of an object-oriented style in VB?
2013 - 2016: Bachelor of Computer Science @ RMIT
2017 - 2018: Master of Data Science @ RMIT
ΟΟΟΟ
VCE '12: | English | I.T: Applications | I.T: Software Development | Music Performance Solo |  Further Mathematics | Studio Arts |

MJRomeo81

  • Part of the furniture
  • *****
  • Posts: 1231
  • Princeps
  • Respect: +167
Re: Object Oriented VS Procedural approach
« Reply #6 on: October 03, 2012, 02:58:48 pm »
0
  • Creating and using classes and objects in VB.NET
  • Encapsulation, Abstraction, Inheritance and Polymorphism.
  • Constructors
  • Overloading

To me, once you get your head around the concepts, the code looks a lot more cleaner particularly with inheritance (eliminating redundant code and extending the use of existing classes). Dealing with errors is a lot more pleasant too (exceptions to improve error handling - try/catch blocks).
Currently working in the IT Industry as an Oracle DBA (State Government)

Murphy was an optimist

Bachelor of Information Technology @ La Trobe (Melbourne) - Completed 2014
WAM: 91.96
The key, the whole key, and nothing but the key, so help me Codd.

Subjects I tutored during my time at LTU:
CSE2DBF (Database Fundamentals)
CSE1IS (Information Systems)
CSE2DES (System Design Engineering)

Quote
“If I had an hour to solve a problem I'd spend 55 minutes defining the problem and 5 minutes thinking about solutions.”
― Albert Einstein

Yendall

  • Victorian
  • Forum Leader
  • ****
  • Posts: 808
  • Respect: +38
Re: Object Oriented VS Procedural approach
« Reply #7 on: October 03, 2012, 03:10:25 pm »
0
I base all my programming around objects really. I'm not familiar with the stages of OOP though, I should probably research into that more.
2013 - 2016: Bachelor of Computer Science @ RMIT
2017 - 2018: Master of Data Science @ RMIT
ΟΟΟΟ
VCE '12: | English | I.T: Applications | I.T: Software Development | Music Performance Solo |  Further Mathematics | Studio Arts |