A few days ago, I saw a blog about my thinking. In addition, I have a slight feeling of learning clojure:
In the blog we read, we asked the readers to divide the cows, grass, and fish into two types. We compared two different ways of thinking: 1 ). associated thinking: Divide cows and grasses into one type, because cows graze; 2 ). object thinking: It classifies cows and fish as one type, because both are animals.
Later, when preparing to learn the clojure language, I suddenly thought of the two ideas in this blog and started some thoughts: first, the associated thinking, from the previous learning experience on other languages and technologies, to develop a clojure learning plan, mainly to learn the Declaration and definition of variables, simple data structures-arrays/containers, simple algorithms-loop operations, Io and multi-thread operations.
Then the object thinking, in fact, any language is pinned on the computer. Analysis of the components of a computer: hardware and software can be further abstracted as structures and algorithms. The computer's exit must involve Io. Computers with good performance may support multi-task and multi-thread processing, finally, the user interface. Language relies on computers, so it must be able to manipulate computers. Most languages are composed of algorithms, structures, Io, multithreading, and interfaces.
Although both kinds of thinking can reach the final structure, it is obvious that object thinking is more disruptive.