View the world from the programmer's perspective

Source: Internet
Author: User
I once read Mr. Hawking's brief history of time. The fourth dimension of the world is time. At that time, I felt uncertain. Now, as a programmer, I want to explain how to look at the universe from the perspective of a programmer.
Today, most programmers are programming in object-oriented languages. Therefore, it is easier for programmers to understand everything. I began to remeasure the world outlook.
In the 3D world, after the origin point is specified, all objects can be represented by the length, width, and height. That is to say, our world has only three dimensions: length, width, and height. It is represented by arrays and can be viewed as a three-dimensional array. Each point in a three-dimensional array represents the shape of all objects.
As we all know, the smallest unit of matter is a unit smaller than an atom, such as the proton, electron, and neutron. Think about it. The electron acts as a planet and rotates around the neutron star. Because the size is small enough, the time is slow enough for them.

It is simpler to use arrays. three-dimensional arrays represent the length, width, and height. Then, the four-dimensional array can be viewed as an array consisting of a three-dimensional array. A 3D array consisting of three-dimensional arrays, that is, a six-dimensional array, is a very small element in the world.Let's think about it. If we think of planets like the Earth as electrons and stars like the sun as proton, then the stellar planet is just one atom of an object in another very huge world. The Milky Way is just a molecule of this object consisting of multiple atoms. Now, the infinite universe can be explained with this idea.



Haha, everything is object... Original Zhou ge ..

View the world from the programmer's perspective

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.