Tuesday, January 17, 2017

OOP



OOP is not in all languages, and I have used some that follow the procedural paradigm, including JavaScript.   I've only used PHP5, which was updated for OOP.  Although, while Javascript was initially a functional language, it too is changing with ES6 (EcmaScript6).   If I am not mistaken, EcmaScript 4 does not have a true Object Oriented paradigm, although most of its constructs are objects.  I'm essentially doing procedural programming with these, when I'm not setting up classes and using the concepts of OOP.


What was your experience?

Most of my experience with Object Oriented thinking is from Java. Through that language, I learned of classes, which define the properties and behaviors of objects, as well as encapsulation and abstraction, where classes are separated and hidden from their descriptions, calling/driving or their use, as well as other concepts like inheritance, where multiple classes can pass down features. Overall, data and methods are coupled with objects; the objects are the focus, as well as operations performed on those objects.  This is in contrast to procedural programming, where methods are designed and the focus of execution.


How extensively have you used OOP outside of the classroom?

It's my goal to apply what I've learned when I code with other languages, such as Python. There is room for improvement for me, in this respect.


Are you experienced with UML diagrams and do they help?

I've encountered a type of UML diagram using SQL, but have never employed such to solve a programming challenge. Indeed, another goal of mine is to better plan my builds, using algorithms, and, yes, a UML diagram, perhaps, a class based one.


This week, the programming assignment, Casino, was a lot of fun.  I enjoy gaming.  It was a good refresher for a lot of the concepts I had studied in the past, and I enjoyed working with my team.

No comments:

Post a Comment