I haven't written any notes for a long time. I want to write something several times, but I don't know who to write or what to write. There are more and more people in my base camp, I am adding more and more friends, but few of my notes have actually been studied. Most of my friends here still want to learn something or are interested in software development, however, some of them are for recreation and entertainment. If so, please bypass it.
I have mentioned a lot about computer language learning in some of my past notes, but it is not very systematic. Let's talk about it here, hoping to inspire anyone who wants to learn it.
The first thing I want to talk about is language learning, a piece of my notes"What does programming language learn?? ", Once said, the most fundamental thing about a language is syntax. Programming = syntax + algorithm. With algorithms, You can compile programs. algorithms must be learned, but algorithms are not specific languages, the syntax is actually very studious. the syntax of computer languages is quite regular. computer languages are computer-based languages that primarily allocate, assign values, and transmit memory units, if you can understand the processing of memory units, there is basically no problem. In addition, there are also computing and redirection. computing is the CPU strength and there is no difficulty, the redirection is also very simple. It changes the execution sequence of commands. the loop and branch statements are implemented by the redirection. You can take a look at my C language tutorial, the syntax is described in a bucket.1,2,3Any other language can understand and learn in this way. After mastering some basic algorithms, you should be able to write code as you like.
Next, we need to emphasize one thing: function. I think this is the most important thing to learn programming languages. function is the most basic component of any programming language and the habitat of code, I have a note"Misunderstandings in language learning", Which mentioned the function issue, the existing teaching materials, especially the C language teaching materials, are misleading to everyone and overemphasize input and output, input and output are actually a small part of the function library. They do not belong to the language category. A function is used to encapsulate an algorithm or implement specific functions. The functions of each function are not complex, however, by calling between functions, a large and complex program can be completed. another important thing is reuse.Basic principles for codingIs the top priority of programming technology, and functions are the most common and basic means to reuse code. I will issue a handout on C functions in the near future. If the function is very good at understanding, it is easy to go to the Windows API Library and the C Runtime Library. Even if you encounter a new class library, it is easy to get started. By the way, the main purpose of object-oriented is reuse, which increases the security and readability of the Code. In essence, it is to write the code. There is not much difference between different languages, and the idea is not complicated, it is not difficult to learn, but functions (or methods) are still the most basic elements of the class. That is to say, object-oriented programming is also the same as writing functions, the learning of object orientation will not go smoothly.
Then let's talk about programming ability. Some students may have learned a language and want to write a small thing, that is, they cannot write it out. First, check whether your foundation is good, syntax (including writing and calling functions): Is the algorithm really okay? Check whether it can be implemented by using a function (which you think of or read in the book, it can also be reused. If there is no problem, it means that you have no problem with this language, and the remaining problems will be simple. The main problem is the interface problem. After you lay a good foundation for your language, the interface problem is actually quite simple. When we started learning, we generally used the console to perform I/O with a style similar to printf and scanf. Switching to the image interface may be a little too big. Let's look at several more examples, it is better to look at the simplest to a slightly more complex example. It is much more useful than reading a book. It is easier to write and write as a result, in various languages and platforms, the class library of the graphic interface is very different. You just need to know which one you want to learn. You don't have to worry about it. The key is to set up the language basics and learn everything quickly.
Let's talk about the database. I also wrote a note."Questions about database Learning", Introduced some knowledge about database learning, database programming and management. Here we mainly talk about database-based programming. Speaking of programming, the content about programming mentioned above should be learned and mastered. Some people should pay attention to this point. In addition, it is the knowledge of the database. I have made it clear in my notes, modeling and SQL statements are used. It is important to note that modeling is closely related to requirement analysis. A correct model can be created only when the requirement analysis is clear.
Finally, let's talk about WEB programming. Currently, Web programming is widely used, especially for database programming. Most of them have switched to the Web Platform. Web programming is also programming, therefore, the learning of the programming language mentioned above is also essential. There are also various options for Web programming, such as Asp.net, PHP, and JSP. No matter what language you use, some basic concepts must be clear, such as the client server mode, browser, server, request, response, Cookie, session, etc. Some Main HTML labels should be clarified, such as form and its attribute action, method, and enctype, there is also JavaScript programming, which is only related to the browser and the language used in the background. Many of them are currently used and very useful.
Let's talk a lot about it.
You can easily contact a teacher and click it to add it as a friend. Http://student.csdn.net/invite.php? U= 108270 & C = 189a59b57330cb29