Programmer

xiaoxiao2021-03-05  26

"Programmer", mention this name, let our mind flashed a long string: a hand of the modern software industry Dinosaur - Microsoft's Bill Gates; the Chinese national software industry representative Jinshan Company's head-seeking Bo Jun; Microsoft's nightmare, representative of free software, the father of Linux Finnish, Linus, these names in the IT industry, the name of Nuko. Here, the author wants to talk to you from a professional programmer.

Why do you have a programmer to mention this problem, it seems to be too simple, too naive. Look at the comfortable working environment of the programmer, rich salary, live "happy" white-collar life, everything seems to be self-motivated. In fact, this only saw the programmer. The other side of us is not concerned about the public: there is no day, no night, the overtime work is home; all the day and keyboard deal, how many people can handle these boring life? Without the persistence of the software career itself, the source code is almost fascinating, all of which cannot endure ordinary people. But when your program passes the test, becomes a qualified product. This is the joy of this time.

Have a rule, Cheng Fangyuan

Program development is a very flexible work. For example: Variable I increases 1, in which there is: i , i, i = 1, i = i 1 and so on. However, this does not explain that the programming can be as desirable, and the sky is in the air. Good programming habits can improve work efficiency and reduce unnecessary mistakes. Especially for beginners, it is important to note: the first point: When programming, we must first establish a good data structure. When the program is programmed, if you start the data structure design error, then you have to spend a big cost to modify the program. I have had such a painful lesson: a program has written more than 2500 lines, and suddenly found that the basic data structure is unreasonable, and the result is overwritten. The second point of "Wheel is incorrectly cut": the code is as used to reuse and modularize. Whether it is oriented or object-oriented, code reuse is one of the basic principles. For example: If you want to draw a green apple and a red apple, write a function to draw an apple, pass the color as a parameter into it. This can draw apples from different colors as long as they call the same function. The benefits of doing this are the procedure?! ----> Third point: Good writing style. A program, it is impossible to be absolutely perfect, and it will never be modified. Since you want to modify, you will inevitably reread and understand the original code. The good programming style can make people more convenient and quick to understand the structure of the program, so that the modified efficiency can be maximized. Here, the author raised some more programmed style requirements: 1. Unified count significantly compared to III more easily understood its true logic meaning and data type. Therefore, there are many letters in the variable and function name, so it makes sense, and it will be more convenient in the future. 2. Code layer-by-layer indentation format. This has almost become a standard. This format makes the hierarchical relationship between the code is very obvious. For the logical gesture of the program, there is a rule of code location. Conveyed the code of the relevant function, put together, so when you read the code later, you can avoid frequent switching between different file modules. Because it is not conducive to understanding. If the loop is really too much, the code should be too long, you should consider re-dividing a finer subunies. A good programming style is certainly more than these, which also needs to experience in the process of learning. Quaternary: Pay attention to the program test, pay attention to abnormal processing. This is often a significant difference between amateur program enthusiasts and professional programmers. Amateur program enthusiasts often only focus on the procedure to run normally, and the occupational programmer must pay attention to the procedure to operate in the abnormal situation, at least normal termination. And this is the establishment of a thousand miles of journey on the basis of the procedure and testing. Making programmers have more twists and turns and difficulties. But as long as you love the software development, you will pay for it, and finally will make you feel happy. Come, I still hesitate, embarrassed to this programmer, go forward!

What is the learning programming? For the majority of programming beginners, there is such a universal understanding: the learning program is designed to select the programming language. The opening closure is VisualBasic, Visual C , Delphi, Power Builder, and more some popular development tools. I often saw a beginner asked: I learned C / C , what is I learn Visualc , or learn Borland C Builder? Alternatively, it is required to make a choice between Visual Basic and Delphi. What is the relationship between learning program design and learning program design language? How should beginners should pay? Thus, we have a simple alteration: learning program design is like learning shooting, and the programming language corresponds to air guns, pistols, rifles such as guns, pistols, rifles, etc. Learning shooting must choose a firearm, it is impossible to do not have a gun, and it is impossible to learn all the firearms at the same time. However, if you master a firearm, you will be able to touch the category. Because in familiar with a firearm, it also learned the shooting technology itself. Learn other, natural things are half-time. Learning programming is also the same, inevitably start from learning a programming language. At the same time, in the process of learning? Recommendation: The learning program is not required to be in a certain language, you can choose your own comparison in Visual Basic, Delphi, Borland C Builder or DOS. An easily accepted learning. It is mainly learning the idea of ​​programming itself, and learning is to look at the problem with the vision of the program. Perhaps, the effect of learning cannot be seen right away, but you can learn solid basic skills, which is great for future development. These basic successes include: 1. What is the purpose of strengthening logic analysis and creation of mathematical models? It is to solve the problem in reality. The problem in reality is to use natural language, the current computer cannot understand. What we have to do is to "tell" computers in the way you can understand. We also need to logically analyze the real problem, establish a reasonable mathematical model, and then enter the computer, R, g, and b three-color parts in the form of procedures and data, each representing a color, and is converted to the color of the color. Treatment of three integers of R, g, and b. As long as we change these three integers, we can change it into another color. For other practical problems, we also have to make them two, data structures, and algorithm knowledge processes to develop to the present, have a more common, complete mathematical model (we call data structure) and The processing method (that is, algorithm) corresponding to these mathematical models. The current program is based on this. The experience is circulated in the middle of the programmer: "Good data structure is half of the program." It is important to see. As a programmer, a rich practical experience program is itself a very practical discipline. A program that exists on paper is like a bird without wings, never fly in real sky. Ren, the code is written, and the style is beautiful, it is just a series of characters on a piece of paper. Just like a composition practice, perhaps it is very good, but don't give it to the teacher to visit, what is the difference between a white #! Finally, as a programmer has a little requirement: That is physical fitness Well, you can stay up late. Top of Form 1

Choose a device with good things - Talking about the same topic in the same topic in the same topic, "Workers" - "Analects". Many people want to choose an excellent programming tool when learning software programming. Going to the bookstore, you can see a variety of popular programming books, but you haven't want to choose what programming language learned, and you don't know what to buy. If you want to learn to program, you must carefully understand the characteristics of various languages ​​and find your own learning direction. Then you must first clarify what you want to do, what are you interested? To be further: What is the programming of which aspect you want to do now? What is the main function of your program? From this in numerous software, you choose to make your own development tool. I. Basic language development tools such as Delphi, VC , VB are a subject-oriented programming language, although each language is not the same, but they always run through the way throughout the programming. Main line. Therefore, learning these languages ​​should not focus on the specific grammatical format of a language, and should pay attention to learning the most important entry language of object-oriented basic theory - Visual Basic's basic concepts of object-oriented programming On the basis, relatively, VB is a language that is easier to get started. When studying VB, you should pay attention to grasp the essence of the object, avoid messy and complicated, pay attention to grasp the properties and events of objects and controls, and their functionality and simplicity of the main functions. The most effective way is to organize a learning step by simply retrieving, such as: learning to draw sinusoidal curve when learning VB simple drawing; learning to use the PictureCl control to make a liquid crystal effect display time; when learning API functions , Make your own taskbar icon. This method can help you master the usual objects in VB, the use of events. The most flexible language - Delphi For Delphi, if you have learned PASCAL, you will find that a lot of things are "like once". In this way, Delphi itself is written by ObjectPascal similar to the PASCAL structure. If you have a certain Pascal foundation, learn is of course easier. In addition, attention should also be paid to the understanding and application of the package in Delphi. For example, a matter of running a package, a design period, and an item that should be paid attention to itself. On the basis of proficient in Object Pascal language, you can put the focus of learning Delphi to how to write Windows applications, Delphi database programming, and create controls and program development. The most powerful language - Visual C VC has a relatively complete Microsoft Basic class library, making the development of Windows applications simply and efficiently. It provides complex resource editor that can easily edit dialogs, menus, toolbars, and other components, so it's powerful, easy to use, but getting more difficult than VB, Delphi, not easy to master . Learn VC , you should first put the key party on the basic data type, input / output, loop and array, template, and how to create a C application. After that, you should learn the usage of the resource editor in VC , and the use of the ActiveX control and the editor optimization.

At present, many of the books in the books of VC are introduced to the use of VC various versions, and ignore the basic knowledge of C . In fact, for beginners, I ignore basic applications. Knowledge, but will increase learning difficulty to a large extent, it is easy to lose confidence in learning?! ---->

Of course, in these languages, you can provide your own database programming and Internet edible □ '7b. On the basis of skilled the program itself, you can also choose to learn according to your needs. When you have certain programming capabilities, you may wish to design a reality, interested questions, develop, self-design. This can help you skilled it very well. Database programming If you mainly want to complete the database design, you should choose a dedicated database development tool, commonly: SQL Server, Powerbulider, etc. If you just need to complete a relatively simple database function, then take a closer look. There is a lot of time, but also makes you gain, in addition, there are also some tools for large database development such as: DB2, Sysbase, and Oracle, this type of software generally needs a stronger database. Basic knowledge and certain software development capabilities. If you start from the beginning, it is recommended not to learn this type of software at first. PB and SQLServer are mainly used to complete access to data processing and databases. Due to SQL Server and operating system compatibility and extensive applications in the network, there are currently many amateurs choose to learn it. When learning SQL Server, you should focus on the composition of SQL language, SQL transaction management, and SQL query And optimize above. And PB has always been a lot of people who are engaged in the basic use of the database, and should also be noted in the PB. For applications that need to access Windows special features, the API function needs to be called, such as control the mouse, create Directory and flash '7b window, etc. When learning a database programming, you can try to complete a complete software development cycle. From the demand analysis 7d, personally experience the design database, create a database front end, create a table, complete a common query, and output reports. Third, network programming is currently more popular network programming tools to be "different styles, all flowers". Each tool has its own unique features, and has its own advantages on the Internet. When learning Java, it should be clearly the basic theory of object-oriented objects, and fundamentally grasp the Java's operating mechanism. The focus should be placed in their language foundation, Java and ActiveX and JavaBeans and other components and applications. You can compose some classic applets to deepen the basic skills: written card games with Java graphics ability, write minesweis or Russian squares with AWT, write network chat rooms with Java network function. Relatively, the ASP editing is simple, easy to get started, powerful, has already been widely used. When learning ASP, you should first have a certain understanding of ASP-related network knowledge, web server settings, HTML language, etc., on this, focus on ASP's primary programming language VBScript, ASP's common objects and components. If you want to know more about ASP, you must also have basic skills, etc., which are commonly used database SQLSERVER, ACESS, etc. You can try to edit a simple online voting, online supermarkets and other programs to deepen the mastery of the above knowledge. In addition, there is also a "new show" of the network programming language - php. It □ '5C off the ASP can only use NT or Windows 2000 to limit the limitations of the server operating system, and the access to the database is faster, more direct. However, for beginners, their language is more embarrassed, and the installation is relatively complex, and the information available for reference and learning is far less than ASP. At the same time, PHP is used in Windows, and it is not possible to reflect its superiority. Therefore, we recommend that you don't have to learn from PHP for beginners who don't have Linux / Uninx. There is still a big feature of online programming: paying attention to yourself everywhere. I often pay attention to the design of various websites on the Internet, pay attention to the design ideas and ideas of others, will make your network programming skills quickly.

转载请注明原文地址:https://www.9cbs.com/read-37766.html

New Post(0)