what are the disadvatages of oops?
what are the disadvatages of oops?
maintaining database is not much easy
completed to understand
encapsulation makes to user trouble one
we say opps so my question is in opps S stand for Which
c++ has the partially oops language but it does not provide the security . using pointer accessing the memorry cells and change the values
Java is fully oops language, it doest not support to pointers.
OOPS makes the life easier of the programmer, designer, tester etc. Everything classified as objects, easier to understand and maintain, structured, provides privacy from encapsulation. Every thing in real time is object oriented.
My code has been criticized as being "too object oriented" by some. Some people prefer large numbers of global void pointers I guess. I know in some cases OO code executes slower. But the code should be written to meet requirements first and style second. I think that if there are problems with OOP they stem from confused priorities.
What do they mean by Too Object oriented?...Just ask them to design your application without using any objects. Let us all then have a look at which design is complex..the one with objects or the one without objects?
yeah dast true OOP has this geat ability of making simle complicated and complicated simple!
Developer will face the cross-cutting concern more often.
The problem with inheritance is that if you want to figure out what a given method does, you have to search up the class hierarchy until you find its definition. In a way, inheritance is worse than goto--at least with goto the destination is somewhere in your function but with inheritance it could be in any number of files. The problem with polymorphism means that simply finding a function with the right name is not sufficient, you have to also look at the parameters. Trying to read code without a good class browser is almost impossible. It IS impossible once you get into virtual functions where the decision of which function gets called is only determined at runtime.
OOPS is not recommended for Small projects and for System Programming like Drivers or anything that interacts with the hardware. this is becoz OOPS consumes a lot of time in OOAD(Object Oriented Analysis and Desing) For small projects with limited budget this may be a overkill.