Monday, 20 January 2014

Object-Oriented Programming

Although I consider myself to be an advanced programmer, at least for my age and education, I have only ever programmed in an Object-Oriented language, so when asked to explain what it is, I will not be able to compare, so I will just discuss my knowledge. Object orienting based around the idea of creating "objects" that store various pieces of information and/or have methods of dealing with various conditions. One can create an object, and use the methods built in with it to evaluate specific conditions based on the nature of the object. For example, java's graphic section will have classes like triangle which will hold data like the height and base of the triangle, and will have methods that can be called to perhaps change the attributes of the triangle like the base and height or even the type, outlined or filled. What nice about object oriented programming is it eliminates greatly repetition in code, and simplifies for the programmer, allowing error trapping to be easier and coding in general.

As for the class, I believe that I will learn a great deal more than in 108, which I only took as I was unfamiliar with python, but I feel as though we will be learning very powerful concepts in this class, such as recursion.

No comments:

Post a Comment