In college, not a programming language used to write code

This article is a discussion of programming language, but not a specific programming language to learn, only one is on behalf of the author's point of view. View of the proposed title of the party does not have any meaning, but such a view is, at the University of programming language is not used to writing code. On the common language is java, so in this article will give some examples using java discussed, and will share their experience through a number of detours and was in the learning process.
First, let's take a look at University computer science teach what?
I think that we remove the water extracurricular widely recognized for the quality of education provided in our courses, which can be divided into three categories, one belongs to the category of basic sciences, such as mathematics, physics and other universities; computer belongs to a class of theories, such as database theory, computer networks; the other is the most insignificant programming language. Because it is the programming language of this article, it is necessary to talk about why the programming language is the most insignificant, first, because learning a programming language is too simple, can not even put it as knowledge, and secondly we indeed ignore the inherent role of programming languages, and just stay at the level of use.
Second, we must understand the programming language plays in computer-related professional learning process is what role.
Recall university courses, university will teach us three languages ​​C, C ++, java. Why is the first university to learn C language? Because the C language syntax is simple enough, but the process-oriented language, can use the shortest possible time to get started, I remember the first teacher of high school in just two or three lessons only. Xueshengxuewan C language can only be learned after the algorithm into code. Why, after learning C ++ instead of the more simple java, because before we have learned C language, while C ++ is fully compatible with C, so for most of the students, the contact is no longer a new thing, Incidentally, you can also have contact with object-oriented thinking, know the concept of inheritance encapsulation and polymorphism. Why is it then java? Because students in the future also have to eat, the vast majority of students did not rely on self-learning ability of C and C ++ is not the industry, because too difficult, we can only choose simple to use, widely used, the demand for large java, cents no doubt the course is to teach java CRUD of java web, why? Because everyone will learn, have to learn the job, it is completion of java junior, and if something was not considered, then, from employment will become increasingly closer. From C to C ++ then java, our minds think these programming languages ​​is a door separate courses, but as the curriculum, the classroom and did not get into the details Imagine the university to teach these languages ​​to teach a junior high school students can not learn? I think it can, because the programming language is not knowledge, learning a programming language is just like reading a manual tool only. Therefore, at the University of learning, for learning programming languages, we must not remain in order to test it. However, many people did just that, just to test it, no matter how little it is about the programming language as a tool to write code to write algorithms questions. Point of this article is the programming language at the university level are not used to writing code, it is a tool to help us learn. This is my point of view of a programming language is a tool of learning, I believe readers have never heard this view, it is very strange that we learned a few semesters tool knowledge is not something actually just learning, then I will java Why, for example speaking programming language learning tool rather than knowledge.
What is the core of computer science courses University? There is no doubt that the data structures and algorithms, database theory, computer networks, computer composition principle, operating system, etc. These courses are biased in favor of the theory. And then list what is java technology stack, there are those things, a collection of java, jdbc, servlet, jvm. Learned java can get in touch with me about the content of the above things have anything to do. Collection of java have linked lists, queues, stacks, hash package, jdbc will help you use the database, servlet is java web foundation, jvm will relate to memory management. They really seem to have contact. When you finish a collection of learning java, jdbc, servlet, jvm want in-depth study, what would you do. If you are already familiar with the database, and then learn database theory and database you never know what to studying the principles of database feel any difference?
The author has browse through the books in freshman composition principle aspects of database theory and computer, the reason that browsing is because at that time really did not learn, feel that time is that this is what stuff, learn what's the use, good it is difficult, because at that time know that these are just the basics of computer Shifenzhongyao and freshman spare time too much, too much water courses. But as was later contacted java (java herein do not have any suspects as advertised), played a database, additions and deletions to change search after skilled, sometimes think that these things are not even written can not come out (it turns out these the code really is automatically generated machine, really do not need people to write) then what is the purpose of the database theory it? Why university also learn database? But behind the project, but encountered a lot to think about a scene, how to improve the efficiency of the query, so that construction of the table is appropriate ...... Problems encountered are telling me: database principle is very important, and why it is important to test because the test is no longer, but I do have to use these theories to solve my problems, I need to know principle. On contact with a school project, and contributed some code for the socket part, the first contact with the socket when a freshman last semester, at that time under the toss linux platform C language programming, linux contact with the socket interface provided by their own also had a lot of questions, how data is sent from one computer to another computer, the data transfer process how to ensure no mistakes. Winter himself taking the time to watch the video in the computer network, seems to understand the whole process a little bit. There are many programming languages ​​in the multi-threaded how to achieve, jvm how memory management, these issues are telling themselves, those theoretical courses is important, not because of exams, but really important. While class university, we all know, the future exposure to these courses, do not listen to those classroom talking about. I cite these examples in fact, the purpose of trying to tell the reader that the basic computer theory will ultimately landing in practical applications, achieved by the application of the code, the programming language to write code that can not be separated, we contacted the simplest of these theories way is to call the programming language has been packaged for us a good variety of interfaces, the programming language is bound to have a package of basic principles, see here, I believe that readers understand the programming language at the university level is not only used to write code only. A good language may be popular, one of the most important reason is simple enough to him, that he is simply very little exposure to low-level, such as we see java persistence framework, and even do not have to write sql statement can operate database.
Rather than programming language as a writing instrument code, it is better to him as a possible window to see the underlying computer original appearance, when you continue to use it, you will have access to those underlying application, and if you can keep the curious, pondering Why, unwittingly programming language will take you into the wider world.
Unfortunately, the university's classroom, it is spending too much time programming language syntax section, like C ++, STL there are a lot of people even do not know what, if I had to take us to be with those with a library, I believe many people will have a different understanding of programming languages, and then generate greater interest.

Guess you like

Origin www.cnblogs.com/zeng-xian-hui/p/10960692.html