Programming is the same as writing code. Writing code is only in the code field.

Source: Internet
Author: User

I saw an article titled we are typists first, programmers second, dated 2008. When we plan to re-enter the programming field as a newbie, it may be influenced by "re-invent", or we are just re-thinking about how to program. (Reprinted and retained: programming is the same as writing, and writing code is only in the code field)

Writing code is equivalent to writing
? Maybe this is a soft article

Programming is actually not difficult at all. When we just use a tool to create something, such as welding a circuit board with a soldering iron, a chip, or a wire, we learned how to use these tools. Although our circuit board can achieve the same function at last, we can see the gap at a glance.

For example, if a good cook and a layman like me give us the same ingredients and kitchenware, after a while, it may be attractive food, and I can only feed pigs. Even if I imitate the cook step by step, it may look similar, however, there is a gap between them.

We are still not doing well, we are still not doing well in welding, we are still not doing well in writing code, it is not because we are stupid than others, but others are doing more than us. Sometimes the emergence of a chance to learn or bug will have a different impact on the programming life of different people (PS: It seems like a butterfly effect ). We are only using tools. Good and bad tools determine the quality of writing in a program.

The same is true for writing. For the same paper and pen (PS: reduce irrelevant factors), there is a big gap between the words written by different people. Well-written words are worse than written words, it's only because you have more exercises. Isn't programming the same way? Writing code is as easy as writing.

At the beginning of writing, we need to understand the stroke sequence and font structure of a word. These factors are equivalent to the syntax and its structure. After getting familiar with it, writing code is just as simple as writing.

Learning programming is just learning sentences
? What a boring title

Computer languages are the same as human languagesSometimes we may feel that some computer languages deviate from our world, but they are the real computer languages.

Computer languages imitate human languages, from if to others, which are simpler than human languages. Therefore, when learning a language at the beginning, we are only learning to make sentences and summarize the meaning of a code in one sentence, or call it a function or method ).

So we began to make sentences in order to finally make a whole article.

Programming is in writing
? Programming is writing. How is this joke? Is this ironic about the hard-coded and hard-written articles?

Code is like poetry, or code is like prose. In general, this is not the case for Chinese as opposed to English.If the code written in a so-called Chinese language is not like a Chinese poem, it is not a real Chinese language.

The influence of the so-called writing logic on Programming

  • Early code is calculated by the number of rows, and the article is calculated by the number of words
  • The code is written to people, and the article is also written to people.
  • Like writing, programming begins with thinking.
  • Code can be stacked like this article (PS: As in this article)
  • It's not easy to write a good article. Do you need to think twice about it? Isn't that true for writing good code?
  • Constructing a class is like constructing a character's character characteristics. A little more is not good, a little less and incomplete.
  • Code Generation, just like poetry, without emotion, too mechanical
  • ...
However, there is always a big difference between a good writer and a general writer, and the degree of thinking on the same issue is also different. The process from an author to a writer is a process of continuous accumulation of writing. From an ordinary programmer to an excellent programmer, this is also the case and requires a process of continuous programming.

When we start programming, we will also get stuck"Monk pushes off the moon"Or"Monk knocks on the next door of the moon", When we become more and more skilled, it is easy to decide which one to use. Such "scrutiny" is a similar process in both writing and programming.

The process of writing is really a journey of exploration, and it will run through a person's life.

Programming is only in the Code Field
Programming is just a code word, isn't it?

All real thoughts are in your mind, not on paper or IDE.

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.