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