Well say OOP to be a master of all evils and evil is successful today...
Why OOP is said to be a better choice for software development ?
oop "object orinted programming" is better because it models the real life in a similar way
every thing in life is divided in to object form a spicific thing "class"
u r an object from the class human
cats r objects from class pets that is diverted from class animals
if u divid ur problem u r try to solve in the program u write in to objects u will find it much easer
and this will aslo make it possible to address harder problems in an organized way
i hope u find what i have said have any meaning, coz understanding how to divid and approch the problem is much importent than how u solve it
Reply:how did you get your hair to be green?
Reply:You are right Brigadi
Reply:Because most real world problems are more easily understood as entities and relationships between those entities. The most often other used approach is procedural, which, if a problem is truely procedural, works great. OO is better for maintaing state, but as a result, uses more memory.
Plus what Brigadi said.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment