Linux Creator Slams C++: A Garbage Language for Bad Programmers
Linux Creator Slams C++: A Garbage Language for Bad Programmers
In a recent debate, Linux creator Linus Torvalds expressed his strong disapproval of the C++ programming language, calling it a "garbage language" that is only suitable for bad programmers. This article delves into the controversy surrounding C++ and its suitability for large-scale software development.
Background
C++ is a high-level, object-oriented programming language that was designed to build upon the success of C. It was created by Bjarne Stroustrup in the 1980s and has since become one of the most popular programming languages in the world. However, C++ has also been criticized for its complexity, verbosity, and lack of portability.
The Debate
The debate between Torvalds and Dmitry Kakurin, a Microsoft developer, started when Kakurin criticized the use of C in the Git version control system. Git is a popular open-source project that was created by Torvalds, and it is written primarily in C. Kakurin argued that C++ would be a better choice for the project, citing its improved string handling and memory management capabilities.
Torvalds responded by criticizing C++ for its complexity and lack of portability. He argued that C++ is a "horrible" language that is only suitable for bad programmers, and that it leads to "total and utter crap" code. He also claimed that C++ is not a good choice for large-scale software development, citing its lack of simplicity and directness.
The Controversy
The debate between Torvalds and Kakurin has sparked a wider controversy about the suitability of C++ for large-scale software development. Some developers argue that C++ is a powerful and flexible language that is well-suited for complex systems, while others argue that its complexity and lack of portability make it a poor choice.
The Future of C++
The debate about C++ has also led to a discussion about the future of the language. Some developers argue that C++ needs to be simplified and made more portable in order to remain relevant, while others argue that its complexity and flexibility are essential to its success.
Conclusion
The debate between Torvalds and Kakurin highlights the ongoing controversy about the suitability of C++ for large-scale software development. While some developers argue that C++ is a powerful and flexible language, others argue that its complexity and lack of portability make it a poor choice. Ultimately, the decision to use C++ or another language will depend on the specific needs and goals of the project.
Additional Reading
For those interested in learning more about C++ and its suitability for large-scale software development, there are several resources available. The C++ Primer, a popular book on C++ programming, has been revised to focus on more practical and applicable knowledge. Additionally, the C++ Programming Standards, a book on C++ best practices, provides guidance on how to use C++ effectively in large-scale software development.