First of all want to explain the title, you include myself in the title, you do not think I can ask such a question I am a great God! I am just a one-year study of the Web development of the "cock Silk" programmer only (Aunt is not)! Write this article just want to express my recent days of programming sentiment!
Many people ask how to program before they can learn programming. Too advanced words I will not say, according to my understanding, programming is to use all our programming knowledge to complete a function! So this involves a "vision" problem? The so-called "programming Vision" is actually created by me, it means that we can complete a function before the head in the function of the required code to pass through, each order to clear. This can help us to more smoothly programming, do not need to write this code after still think the following should write what code! Let's make our programming efficient!
I believe that many people with certain programming experience will have this habit! But is this "vision" big enough? Sometimes what we need to focus on is not a small function, but to put this small function into the overall program to think, from a higher level to think, to determine if we use this code to write this function when it is suitable for our whole program, will not affect the operation of other functions! I think this is the most important, or until we write this function and other functions can not be run, you have to modify the other features, if the other functions to fix this feature and do not strike it? So we should always put in the whole program when programming, otherwise it is time-consuming and laborious!
Let's talk about my recently encountered problems, recently I am imitating Ecshop write a mall system! It's got a list of items backstage that makes me "dizzy"!
Everyone see this product List a total to achieve four functions, are search, sorting, select, paging, I was doing at the time is doing this function when not to think about the other three functions, resulting in pagination done, the selection can not be used, the selection is complete, search and there is a problem! Because their output and fetch data are all on one page, I should consider doing this when I do the other functions are not able to get to the data! The result is my intention is to quickly complete this product list but it backfired!
Perhaps I have such a problem for everyone is not a problem, there are bad places to forgive!
Do you really know how to program? Do you have a "programming vision"?