fasmart1.blogspot.com
Object-based programming was developed because of the limitations discovered in the first methods of programming. In order to appreciate the work of OOPs, we need to understand what these limitations are and how they were born out of traditional programming. Divide into functions Division into Functions As programs get bigger, a list of instructions becomes invalid. Some programmers can understand a program of more than a few hundred statements unless it is broken down into smaller units. For this reason, the program was adopted as a way to make programs more understandable to our human creators. (The term is used in the verbs C ++ and C. In other languages, the same concept can be called subroutine, a subprogram, or a method.) An operational program is divided into functions, and (ideally, at least Each fun...