Object-oriented objects are mostly low-level abstractions. Compared to human beings who have developed mathematics and Algorithms for tens of thousands of years, there are many low-level technologies. As a result, object-oriented programming called "reusable, scalable, maintainable, and flexible" mostly writes code that has been written countless times for websites, application development, and so on. Full of innovative kernel technology, real-time technology, bioengineering, artificial intelligence, etc., but still mainly for process-oriented programming.
Object-oriented, indeed, has done a lot of excellent things. She can make some people who have just learned programming for a month or two to make beautiful and practical websites. She makes business development easier to manage and monitor. However, she also has various bugs. Taking Java for example, there are more and more bugs, and the running efficiency is getting lower and lower. Programmers need to understand the underlying design of the framework and the memory leakage is getting worse and worse.
Does the C language rank first in the programming language ranking show that object-oriented programming is going downhill? C language programming is difficult to manage and has a long development cycle. It is not suitable for commercial development. There are also a lot of projects to develop a new language using C language. architects should take a good look at Alan's tenth law.
Personally, object-oriented programming is still the first choice for commercial development at the application layer. However, if project and business coupling are small and innovative, we recommend that you, consider process-oriented, functional, SQL, nosql, and other programming methods and frameworks (libraries and software tools ).
A common Java Memory leakage:
Http://www.ibm.com/developerworks/cn/java/l-JavaMemoryLeak/
An example of a serious Java Memory leakage (Java cainiao who cannot understand this example, Do not spray ):
Http://www.csdn.net/article/2013-06-03/2815513-reducing-memory-consumption-by-20x
Application layer C language memory leakage detection tool:
Http://zh.wikipedia.org/wiki/Valgrind