As I smash this bottle of port against the bow, I wish HMS Coffeed Code smooth sailings, and blessings upon her and all who author her. (Me?)
Partaking in computer science has been a long and arduous task, and I wish to share here some of my various thoughts and feelings =)
Object Oriented Programming is an efficient way to ensure that code is in modulated bits. As programs begin to grow in length, using a traditional (non-OOP) way of coding would result in many parts of the program having to be rewritten, and editing code would involve obscene amounts of usage from the find+replace function.
The most important aspect of OOP I feel, however, is the cognitive change of the programmer. It helps the programmer organize his/her thoughts in complete concepts a la mindmap all inside the code itself. Any subordinate classes or objects that are spawned from the parent class inherits the traits of that class (unless otherwise specified), decreasing the chance of forgetting certain traits.
OOP also introduces the concept of recursion. Recursion is an entirely new concept that isn't really used outside of the computer science world, but it is an immensely powerful concept, able to solve complicated problems with just a few lines of code. The concept, however, is one that requires a clear and analytical mind, and the ability to break big problems up into subproblems with the same format, and accurately express that in a computer language is a hard one to come by.
No comments:
Post a Comment