Read the Tao Jing and think about oop.

Source: Internet
Author: User

Daosheng 1: Life 2, LIFE 3, LIFE 3

What is Tao? Lao Tzu did not make it clear that he threw a sentence "Tao can say, very Dao" to us, and he was not sure. We can understand it as a natural law for the time being;
One is a big unification, that is, the universe, and the chaotic universe;
The second is yin and yang, which can also be understood as "day", "region ";
3. There are "days", "Places", and "Qi deficiency between heaven and earth". 3: Tian and ground;

The Tao generates chaos and integrates all the resources. (pangu kaitiandi, sub-yin and yang) It breeds yin and yang, Yin and Yang operation, differentiation Qi deficiency, heaven to Yang, earth to Yin, gas to reconcile, the three elements of Power develop things together.

This reminds me of object-oriented, Dao, Yi, II, and III ...... Everything is the abstract and inheritance relationship of a parent-child class.
In fact, think carefully. Many ideas in OOP are in line with the concepts in Philosophy:
Everything in OOP is an object, and theme in materialism is a thing of the world;
Abstract inheritance relationships in OOP; links between things in materialism;
Polymorphism in OOP, unity and diversity in materialism;
Encapsulation in OOP, ??? in Materialism ?????; [This is hard to think about. Please help me]
......

What is the "path" of programming?

Yijing Has Cloud: "the metaphysical means, the lower means, the lower means." the so-called metaphysical means the abstraction in OOP. The Architecture Analysis and Design should focus on the metaphysical; that is, the implementation under the slave,ProgramPersonnel should focus on this.
Therefore, we are guided:
For architects, they need to master software engineering, programming ideas, data structures,AlgorithmThis kind of guiding theories is the way, which is also the reason why the theoretical courses of science classes are mostly focused on this;
For programmers, skills and experiences such as language features, IDE tools, and practical skills are important. This is a tool, which is why most college graduates complain about university courses.
However, the theory is not very well combined with practice, which leads to the current situation of the domestic generals.

It seems that philosophy can indeed guide us to learn programming. It should be said that philosophy is the science of science.

For more information, see programming.

 

Turn self blog, see-see.appspot.com/

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.