Programmers vs. artists
I think there are two favorite occupations in my life: painters and writers. They use art to describe a thing called life. Painters can use their paintings to describe a mood or an artistic conception. writers can use their own words to describe a painting. When we appreciate a painting or an article, we can see at a glance that this painting is either of Van Gogh's or has the taste of Van Gogh, this article has the style of Li Qingzhao ......
Writers and painters start by observing or imitating others' works.
Text has no color or picture, but it can depict a vivid scene. When I was in high school, I liked Du Fu's depression for a period of time. I didn't write poems, but I often imitated the meaning of Du Fu to write compositions and expressed my feelings in the form of Du Fu. Sometimes, when the teacher sees it, he feels that my composition has the taste of Du Fu in it. I also like prose. Sometimes I can't help but feel that I have touched the texture when I look at Xi Murong and Yu Qiuyu's prose.
The painting has no sound, but it can depict the spring water. I still remember that when I was in high school, the Chinese teacher told us a painting in which a monk picked up the water below. So we seem to have seen a temple in the mountains. We heard some spring water and bells.
I have been watching other people's programs recently. Sometimes I am very excited when I see statements that are well written. I have an impulse to applaud. We can use a lot of code to accomplish the same function. People just use a few statements and the implementation method is very clever. What I am talking about here is not an obscure statement, but an article, a painting, or a work of art. I don't know who invented the famous Hello world, but it seems that we can seldom develop a piece of code, so that we can find out who's style or who's original. As far as I know, many write programs do not like to read others' code. It is like writing articles. I always like writing articles by myself, but I don't pay attention to others' articles. I don't know whether others' articles are good or bad. I don't know that reading other people's code is not a kind of program experience, but when there are too many programs, I will naturally find my code is so pale. I don't know how many people actually read the code written by those masters. If you read the code, I want to admit that others' code is a work of art, and their code is so three-dimensional, your code is garbage. Don't you think the program is actually alive when someone uses pointers to get the most out of it?
The IT industry seems to have never been close to art. People call programmers it migrant workers or code farmers ). I have always believed that programmers are also artists. A painter depicts a kind of life with a paint brush, and a kind of life with words. A programmer constructs a kind of life with code. We can use programs to detect the unknown world, or even imitate a life form. As the world becomes smaller and the devices become more intelligent, have you ever been touched by it? Programmers have created all this alternative art. It is not just a representation. If you are a programmer, you will find that reading a good piece of code will suddenly make your mood better.
Many people like to enjoy antique paintings while tasting tea. I like to watch others' codes while drinking coffee. The art of the program itself is not about how short or obscure the statement is. The obscure program is not about art. In my opinion, the art of the program lies in the skill of the program itself, on the other hand, it comes from the flexibility of Life represented by programs.