Beginners in programming, do you want to use an editor to copy the source code of the jQuery library or thinkphp framework?
To improve your programming abilities and ideas? I remember seeing a person on Zhihu who did the same thing. Now I couldn't find the answer again when I searched for it. Can anyone tell me if this is effective?
PHP中文网2017-06-05 11:09:36
Memorize (memorize) -> Understand -> Apply. I can only say that if you copy the code, it will be helpful for your learning, but you have to weigh whether it is worth it. Time is precious.
我想大声告诉你2017-06-05 11:09:36
No need, since you are a beginner, you won’t understand the cleverness of it even if you copy it. Of course, if you are talented, just pretend that I didn’t say anything. Not to mention beginners, people who have worked for several years may not be able to understand it thoroughly. Take it step by step, starting with the basics of grammar, and reading, thinking, and practicing is the way to go.
仅有的幸福2017-06-05 11:09:36
For beginners, this is not recommended.
The definition of a beginner should be someone who has just come into contact with this language. At this time, it is better to lay a solid foundation of grammar first.
Personally recommended learning path for beginners:
Learn [basic] grammar [through books]. During the learning process, [every] example in the book [must] be written by yourself on the computer
Complete a small project, turn over books or check information when problems arise
Real systematic learning of previously unlearned content involved in previous projects, splitting a problem into several small problems and solving them
Repeat steps 2-3 several times, each time choosing a [completely] unfamiliar area
Buy an intermediate to advanced [book] and study, experience, and consult the information seriously
Try big projects
Only after completing these six points, it is recommended to consider learning the classic framework