Programmer those things

Recently a colleague job transfer to software development, for me to teach him C #. Time flies, unknowingly done nine years of development. I did not learn to write hardware technology, nor reap rich material. Not comfortable in their own small environment, there is also troublesome thing happens every day, but just want to in their own way and then adhere to adhere to. Think of a programmer in these things, or feel very memorable.
 
0, the original mood of the introductory programming now think still excited. Then make a calculator program (C #), want to get a Button by over whether to study a very long time, it had tried every Property, put it in the parameters of each Event also tried, it is not result. Later, ask a school bully, he just said one sentence: the definition of a variable ...... I: Oh ~ (heart ten thousand mud horse). Clear air of God Lang! Suddenly feeling very good to the whole world! This is the programming ah!
 
1, adhere to some programming habits, exercise special personality. Such as work in the first year to see a book recommended to write the value of the keyword type when using the original mode is not recommended to use shorthand mode, then so many years I have never seen the original keywords used by others, but I have been so written with: Int32, Int16, Single, Double, Boolean ...... Another example is the code while writing checks, do not copy the code to the code from a good name ...... once wrote a temperature and humidity control related features found in the relevant English words Hygrothermograph, so I take the trouble to write over and over again that only two word but particularly bloated name HygrothermographManagerment in the program.
 
2, where some of the programming methodology is applied to life, things start to be a well-organized. Modular, broken things off, big problems into small ones of; high cohesion and low coupling within clearly what aspects of borders and crossing points; algorithm structure, steps to sort it out and change things; reusability, the save the results of doing things together, create the wheel to avoid duplication; Debug, we have problems to find the root cause, constantly trying to continue to improve; Review, put right attitude, serious and responsible work, not luck, not afraid of checking ......
 
3, learn to jump out of the circle, attitude adjustment. We have a product has been used for a long time, and suddenly one day show a problem on a particular project. Programmers worry, testers ignorant to force overtime late to have no clue. However, the morning will wake up when being confused, I think the possible causes, to classes after a trial really is not bad. Unintentional positive outcomes, tend to have a wonderful effect when the mood to relax, I encountered this situation many times.
 
4, learn to stay safe online. Those routines online advertising, false links are easily identified. For example, mouse-over can identify a lot of authenticity (the bottom bar of the browser prompt and site URL is the same as the address after hovering), close the page can solve many rogue jump (if the return would not solve the interface can not be canceled turn it off, it is certainly not the good stuff).
 
5, would not have to repair the computer, the phone will not repair, not repair TV, but through others constantly find you, you're constantly looking for Baidu, Athanasius artistic things, and slowly you will learn to.
 
Write so many bar.

Guess you like

Origin www.cnblogs.com/447367342/p/12000261.html