Programming Experience - identify the main line

Programming Experience - identify the main line

I used to write code, do not always know how to write.

I also heard a big cow say "only write, can write."

Combined with my own practical experience and the experience of Daniel, I think I should like this program:

1. identify the main line, first go through a main line, regardless of any exceptions, without regard to any error, first go through the main line is the most critical, because the main line is the most direct, but also the people most likely to think.

Years ago, I used English words in terms of teacher: think of what to say, this approach to practice speaking.

Now I write the code is the same: think of what to write, what to write directly what the most, what is most able to complete the basic functions of what to write.

2. come exception error handling and treatment, crafted, reconstructed, for example packaging, the object-oriented things like.

Of course, after a certain level, we begin with a macro to control nature is advocated. But it will take some time.

Guess you like

Origin blog.csdn.net/ChenglinBen/article/details/91428091