Wednesday, October 2, 2019
Object Oriented Development :: essays research papers
BSA400 ââ¬â Week 3 Individual Paper University of Phoenix, Online Object Oriented Development à à à à à When I first started learning how to write code, I had never heard the term ââ¬Å"Object Oriented Developmentâ⬠, or even ââ¬Å"Object Oriented Modeling.â⬠Iââ¬â¢m sure that some form of both of these existed, but they might not have been referred to in exactly those words. Fifteen years of coding later, I was finally indoctrinated in the ways of object oriented development. à à à à à The first language that I learned to use was BASIC, which was very simple and easy to learn. There were no objects per se, and the code was pretty much written from the top down. Now that I understand the mechanics of object oriented development, I can see that there were parts of the language that could be considered objects, especially from a design point of view. Even though most of my programs were written from the top down and were executed from the top down, a lot of them incorporated logic that was reused multiple times. Blocks of code that contained that logic could usually be segregated from the rest of the code. Instead of appearing multiple times, these blocks would be written only once, but ââ¬Å"calledâ⬠multiple times. à à à à à After BASIC, the next language that I learned was Pascal, named after the seventeenth century French mathematician. Compared to BASIC, Pascal was a much more organized language, with the code separated into actual blocks demarcated with ââ¬Å"BEGINâ⬠and ââ¬Å"ENDâ⬠statements. Against my instructorââ¬â¢s wishes, as well as popular programming practice, I still coded from the top down. I suppose this would have been an issue if I was entering code on punch cards. Luckily, though, these programs were all on monitors, so I could go back and forth through the document, correcting errors and changing the code where necessary. à à à à à After Pascal, I learned a few more languages, slowly realizing that maybe it wasnââ¬â¢t a great idea to always code from the top down. Another bad habit that I was slowly trying to rid myself of was writing code without a design document. A design document can be written in either plain English or pseudo code. With plain English, I would just write out what each part of the program should do, and then translate those concepts into code. Pseudo code is a cross between plain English and full code, using elements of both. Even though it might not be easily readable by someone without a working knowledge of that particular language, a lot of the time it could be figured out fairly quickly.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.