System learning Java and non-basic self-study some of the feelings of Python __java

Source: Internet
Author: User

Recently, I was learning Java, is following the training system to learn the kind of teacher in charge of the class is also the school teachers, not like some training institutions as well as the pit, Word-of-mouth is also very good, I tried to listen to nearly one months also feel OK.
So this is a piece of soft and wide. Obviously not, and no one came to me to find a two computer department teacher training Java. The reason I'm mentioning this is because I've been thinking about it all the time in learning Java.

A simple article with login and verification code recognition of the crawler I sent 2 months to finish. I was very happy when I first finished this course (foot), after all, I had a useful finished product for the first time, instead of knocking and knocking on those examples according to the tutorial, I decided to send a few Boven.
But because I am lazy, when I finished the last article is October 11, and the first article was a whole 2 months bad. During this time, I started to learn a programming language systematically in the Java Training Service. Over there, two of the university's dogs are all about the reality of paddling, starting with the most basic part: int, long, if, while ... At the beginning of the one months I completely feel that: really ni slow. This is also used to teach.
(It is MOOC on the data structure of Zhejiang, I was tortured to the extreme)

This feeling continued until the course progressed to object-oriented programming. It's not that I don't know object-oriented programming, Python's object abstraction is far above Java, the Python tutorials on the official website of Liu Xuefeng explain classes and object-oriented in detail, except for the Meta Class I really do not understand. But when I first came into contact with the word, I didn't understand the meaning of object-oriented programming, or even the idea of what it would be like to do. function is not good. --I don't have a distributed, no automatic crawling, no agents, no random UA, no database, no multithreading, no iterative traversal of the crawl is all rely on the function to achieve (at least with a piece of the idea is it (laughter)), in addition to the use of the Myhtmlparser module with its own, Using the most basic object-oriented knowledge, there is still no object-oriented thought in my mind.

And when I started the system of learning Java classes, Java object-oriented, I realized how important and great the idea of object-oriented thinking was, and when I sent the last of that Reptile blog, I realized that what I had written before was not a program at all, it was just a 300-line code script.

I'm not here to discuss how great the object-oriented mind is, object-oriented development has a lot of good, object-oriented development of what shortcomings, I do not have this ability, I have not done any of the size of the project, so far the total number of code estimates not more than 1000 lines, so I do not have the ability and qualifications to discuss object-oriented.

The first language I contacted was VBS, probably a freshman, and I saw a little introductory tutorial from a hacker tutorial. Played for 2 months or so abandoned.
When sophomore found the key wizard, the key Wizard contains the standard VBS library, while adding a bunch of other plug-ins and command library, most of which are for the convenience of the Key wizard simulation keyboard or mouse button preparation.
After no further study of programming, if the kind of learning Hiben only to teach if, while, i++, I-compact C language also arithmetic, I can also say I learned C, bah, I did not have that face said I learned C ...

In other words, the language I've barely tried to do is all simple scripting language. VBS has a bit of an object-oriented component, but it's obviously impossible to learn that the keystroke wizard is even more impossible, and it's just a script. What did I write with these two things? Hacker tutorial on a number of tricky programs on a folder in the file batch rename script Double 11 o'clock simulate mouse keyboard operation automatically rob the day cat's Web page Red envelope script a completely simulated manual operation of the ship woman's automatic expedition script (never been ban. Even though I'm out of it now. Build some one-time-use complex (high-level) functions that are too lazy to save when you run out ...

That sort of stuff.
Inside the various types of judges are used by the key wizard Color Decision module (This module simulates the human operation is simply perfect).

These small things have a common denominator: process-oriented development.
I've probably written more than 10 scripts in a couple of years, the longest of which is the automatic expedition script of the ship woman, more than 2,700 lines, so long because of a lot of code repetition and some features of the key sprite itself, as well as full process-oriented development. The last few lines that the script ended are all end If. I was totally in the violent simulation of human operations.
These years of process-oriented development have made the idea of process development so ingrained in my mind that I completely fail to understand what object-oriented development means and what it does when I finish learning Python's basic syntax. The first program that you do at the same time is still a script-oriented process development.

On the other hand, I began to take notes in OneNote: The things I listened to in the Java class were written roughly in my notebook, and I went back and sorted it out to OneNote on my own understanding.
Before there was mention, the most I think about in Java class is not how Java is, but how Python is here, one day when I was writing notes in OneNote, I suddenly thought: "How do I think of the python" How to "also write about how to open a new partition, It's so good to be addicted to Java recently, for a long time no python, just review python.

When I write, the problem comes and I find some details that I don't remember very well, so go back to the official website of the snow Xuefeng. And this look, I found that the previous period of my self-study is not worthy of learning, even if it is a list, I also missed a lot of details, even in each section of the work I basically finished. The result of no basic self-study is this, in fact, other people should talk about, but there is no basis for programming people actually pay attention to some details, and once you master a programming language, learning other languages will be appropriate to become easier.

In addition to some of the details he is the default you know, skip it, and there's no need to talk about irrelevant content in the Python tutorials, like XML. When it comes to XML parsing, this tutorial is the default you know, and as a result I went to the English-learning XML. But the XML tutorial of the Consortium requires learning JS First, the result JS tutorial also requires to learn HTML and CSS first, so I put the front three pieces of the set to give over again ...

Liaoche's Python tutorial started with this section

If you are a small white user, meet the following conditions:
-will use the computer, but has never written the program;
-Remember the math equation and a little algebra knowledge in junior high school;
-From programming small white to become a professional software architect;
-half an hour a day to study.
Don't hesitate, this tutorial is for you.
You ready.

But not at all.

There is one problem: why you can't read Liaoche python.

There are a lot of people who think this tutorial is a bit of a leap for 0 basic learners.
However, this still does not prevent Mr. Liao's Python tutorial from becoming the best Chinese online Python tutorial in the present.
(just now teach me Java teacher also surnamed Liao)

I do not mean any of the prostitutes, I just want to say that no one to lead the way of self-study is so, thinking that they learn to understand or completely lazy in-depth, in fact, even learn the fur is not counted.
While I was working on my Python notes while I was working on my Java learning notes, I found the countless holes in the 0 basics of self-study that I learned in the object-oriented section and almost completely again. (However, I still can't read the meta class ...) )

0 Basic self-study can only learn grammar, development patterns, programming ideas, data structures, these things are the core of a programmer, the core technology to pass the programmer switch to another language only need to pass the grammar, and the General people self-study is difficult to learn these things, fortunately, I now began to learn a programming language , do not take their own poor programming ideas to write a lifetime of script, copy paste lifetime code.

Nonsense so much, I really want to express what. Hu Shi said to write articles need Yanzhiyouwu, so I really want to express what.
And there is nothing to deliberately express, pure is a face of great contrast, think of their high school wrote a few years of low-level script, sophomore and a reptile, feel that they can write the program, Bah. You also have a surname ... Oh no.. You also say you can write a program.

"Don't talk nonsense, the lab twin screw extruder still waiting for you to repair it." ”
You said I had chosen a polymer.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.