Home  >  Article  >  Backend Development  >  The Road to Programmer [Part 2]

The Road to Programmer [Part 2]

WBOY
WBOYOriginal
2016-07-25 08:52:31789browse
1. Strengthen the ability to analyze logic and build mathematical models
What is the purpose of programming? It’s about solving real-life problems. In reality, problems are described in natural language, which current computers cannot understand. What we have to do is to "tell" the problem to the computer in a way that the computer can understand. This also requires us to conduct logical analysis of real-life problems, establish reasonable mathematical models, and then input them into the computer in the form of programs and data. The three color components of R, G, and B each represent a color, and the processing of color is transformed into Processing of three integers R, G, and B. As long as we change these three integers, we can change it to another color. For other real-life problems, we should also do this to make them countable
2. Data structure and algorithm knowledge
Up to now, with the development of programming, there is already a set of relatively common and complete mathematical models (we call them Data structures) and processing methods (that is, algorithms) corresponding to these mathematical models. The current process is based on this. There is a saying of experience among programmers: "A good data structure is half of the program." Its importance is evident. As a programmer
3. Rich practical experience
Programming itself is a highly practical subject. A program that only exists on paper is like a bird without wings that can never fly in the real sky. No matter how cleverly written the code is, no matter how beautiful the style is, it is just a series of characters on a piece of paper. It's like a composition exercise. It may be well written, but if it is not handed over to the teacher for review, what difference does it make to a piece of blank paper? Finally, there is one small requirement for a programmer: physical fitness. It's better to be able to stay up late.
Choose your tools and do your job well──An article with the same theme of choosing programming tools and choosing your tools
“If a worker wants to do his job well, he must first sharpen his tools”──"The Analects of Confucius". Many people want to choose an excellent programming tool when learning software programming. When you go to a bookstore, you can see a wide variety of programming books, but if you haven't decided on which programming language to learn, you are at a loss as to what books to buy. If you want to learn programming well, you must carefully understand the characteristics of various languages ​​and find your own learning direction. So you must first clarify what you want to do, what are you interested in? To put it further: What aspect of programming do you want to complete now, and what are the main functions of your program? From this, you can choose the development tool that suits you among many software.
1. Basic language development tools
Languages ​​such as Delphi, VC++, VB, etc. are all object-oriented programming languages. Although each language has different support for object-oriented programming, they always run through the entire programming. main line of thinking. Therefore, to learn these languages ​​well, you should not focus on the specific syntax format of a certain language at the beginning, but should focus on learning the basic theory of object-oriented
The easiest entry language─Visual Basic
In mastering object-oriented programming Based on the basic concepts of VB, relatively speaking, VB is a relatively easy language to get started with. When learning VB, you should pay attention to grasping the essence of objects, avoiding clutter and complexity, and pay attention to mastering the properties and events of objects and controls, as well as their functions and usage, and the simple functions of the main functions. The most effective way is to organize a learning step from simple to complex. For example: when learning the simple drawing function of VB, learn to draw a sinusoidal curve by yourself; learn to use the picturecl control to create a liquid crystal effect to display time; when learning API functions , make your own taskbar icon. This method can very well help you master the use of common objects and events in VB.
The most flexible language─Delphi
For Delphi, if you have ever learned PASCAL, you will find that many things are "familiar". Indeed, Delphi itself is written in Object Pascal, which has a similar structure to PASCAL. If you have a certain PASCAL foundation, it will certainly be easier to learn. In addition, attention should also be paid to the understanding and application of packages in Delphi. For example, you should pay attention to runtime packages, design packages, and things you should pay attention to when building packages yourself. On the basis of proficiency in the Object Pascal language, you can focus on how to use Delphi to write Windows applications, Delphi database programming and creating controls, and program development when learning Delphi.
The most powerful language─Visual C++
VC++ has a relatively complete Microsoft basic class library, making it easy and efficient to develop Windows applications. The complex resource editor it provides can easily edit dialog boxes, menus, toolbars and other elements. Therefore, it is powerful and easy to use. However, compared with VB and Delphi, it is difficult to get started and difficult to master. . When learning VC++, you should first focus on basic data types, input/output, loops and arrays, templates, and how to create C++ applications. After this, you should further study the use of the resource editor in VC++, the use of ActiveX controls, and editor optimization. Most of the current books on VC++ are introductions to application development using various versions of VC++, but ignore the basic knowledge of C++. In fact, for beginners, they start directly with specific application design and ignore the basics. Knowledge, on the contrary, will increase the difficulty of learning to a great extent, and it is easy to lose confidence in learning?
Of course, among the above-mentioned languages, they all provide their own database programming and Internet programming. After mastering the program itself proficiently, On the basis of this, you can also choose to learn according to your own needs. When you already have certain programming skills, you may wish to design a realistic and interesting topic yourself, and develop and design it yourself. This will help you become more proficient.
2. Database programming
If you mainly want to complete database design, you should choose specialized database development tools. Common ones include: SQLServer, PowerBulider, etc. If you only need to complete relatively simple database functions, then take a closer look. Take a look at Access. You can gain a lot in a small amount of time. In addition, there are some tools specifically used for large database development, such as DB2, Sysbase and Oracle. This type of software generally requires Solid basic knowledge of databases and certain software development capabilities. If you are starting from scratch, it is recommended not to learn this type of software at the beginning. PB and SQLServer are mainly used to complete data processing and database access. The operating system has good compatibility and is widely used in the network. Currently, many amateurs choose to learn it. When learning SQL Server, you should focus on the composition of the SQL language, SQL transaction management, and SQL query and optimization. . And PB has always been used by many people. While learning the basic skills of database use, you should also note that in PB, applications that need to access Windows special functions need to call API functions, such as: controlling the mouse, Create directories and flash □"7b windows, etc.
When learning database programming, you can try to complete a complete software development cycle. Starting from demand analysis, I personally experienced the entire process of designing a database, creating a database front-end, creating tables, completing common queries, and outputting reports.
3. Network Programming
The currently more popular network programming tools can be described as "different styles, a hundred flowers bloom". Each tool has its own unique characteristics and has its own advantages in Internet implementation.
When learning Java, you should clarify the basic object-oriented theories such as objects and inheritance, and fundamentally master the operating mechanism of Java. When learning, the focus should be on the language foundation, programming technology and applications between Java and ActiveX, JavaBeans and other components. You can write some classic small programs to deepen your mastery of basic skills: use Java's graphics processing capabilities to write card games, use AWT to write Minesweeper or Tetris, use Java's network functions to write online chat rooms, etc.
Relatively speaking, the ASP editing method is simple, easy to use, and powerful, and has long 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 basis, focus on learning VBScript, the main programming language of ASP, and common objects and components of ASP. If you want to have a deeper understanding of ASP, you must also have basic skills in using its commonly used databases such as SQLServer and Acess. You can try to program a simple online voting, online supermarket, etc. to deepen your mastery of the above knowledge.
In addition, it is worth mentioning the “rookie” network programming language─PHP. It gets rid of the limitation that ASP can only use NT or Windows 2000 as the server operating system, and its access to the database is faster and more direct than ASP. However, for beginners, its language is difficult to understand and the installation is relatively complicated. The information available for reference and learning is far less than that of ASP. At the same time, using PHP in Windows does not fully reflect its advantages. Therefore, we recommend that beginners who do not have a Linux/Uninx foundation should not learn from PHP.
There is another great feature of network programming: pay attention to everything and learn something. Always pay attention to the design of various websites on the Internet, and pay attention to other people's design ideas and creativity, which will make your network programming skills improve quickly. Generally speaking, Online Editing 7b itself is not very difficult, but because it involves a wide range of specific project design, such as direct interfaces with various databases and the process of learning languages, it is a self-created , The process of programming by oneself is also a process of gradual mastery and gradual application. Gradually developing good programming thinking and experience during the learning process, gradually improving programming capabilities, and finding better design solutions are the real essence and fun of programming development!
I’m afraid it’s impossible to understand data structure. What I mean by master is not the limit of knowing it, but the limit of being able to do it.
Receive LAMP Brothers Original PHP Tutorial CD/"Explanation of PHP" Essential Edition for free , please consult the official website customer service for details: http://www.lampbrother.net
PHPCMSSecondary development http://yun.itxdl.cn/online/phpcms/index.php?u=5
WeChat development                                                                                                                 itxdl.cn/online/server/index.php?u=5
JavascriptCourse
http://yun.itxdl.cn/online/js/index.php?u=5
CTOTraining Camp                                                                                                    
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn