Turning to object-oriented programming is a problem

Source: Internet
Author: User

"Object-Oriented Programming is an extremely bad idea. Only people in Silicon Valley can do this."-Edsger Dijkstra (winner of the Turing Award)

"Object-oriented design uses roman numerals for computation."-Rob Pike (father of the Go LANGUAGE)

"The word "Object-Oriented" contains many meanings. One half is obvious, while the other half is wrong.-Paul Graham)

"
The inheritance on implementation is the same as the excessive use of the GOTO statement.ProgramUnscrew and fragile. As a result, object-oriented systems often suffer from complexity and lack of reuse.
-John Ousterhout (founder of TCL and TK)Scripting, IEEE Computer, March 1998

"All these nonsense in 90% said that it is very popular now.CodeRub in the object-oriented stone."-Kfx

"
Sometimes, an elegant implementation only requires one function. Not a method. Not a class, not a framework. It's just a method.
"-John Carmack (founder of id software and first known as the father of the shooting game)

"Object-orientedProgramming LanguageThe problem is that it always comes with all the implied environments it needs. You want a banana, But what you get is a gorilla holding a banana, and it has a whole jungle."-Joe Armstrong (inventor of Erlang)

"I once fell in love with object-oriented programming. Now I find myself more inclined to think that object-oriented is a conspiracy to destroy our programming pleasure."-Eric Allman (creator of Sendmail)

Object-oriented is a popular "Structured Programming" in 1990s, but it is hard to say that it is the "ultimate" Programming Model for things developed with it.

In addition, at least this most popular form of it may bring great harm to me, greatly increasing complexity.

Inheritance brings far more harm than benefits. This "code reuse" is under the guise of questioning, and our environment is stupid and adds a lot of useless complexity, so that a large number of syntactic abbreviations must be introduced to minimize the management of this confusion.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.