当前位置:网站首页>How do programmers remember code and programming language?
How do programmers remember code and programming language?
2022-07-06 06:27:00 【IT1124】
The first thing to know is , It's no use remembering a code completely except for the exam , You memorize words all day long, and people can find them by typing an initial , What about the whole code , Is it useful to remember it ? The answer is : Useful , You saved Search for Time for .
Take the simplest package for example , Remember, it's nothing more than being able to type it silently , Don't remember, that is, open the browser and search , Search more, hit more, and finally remember .
Learning by rote at the beginning is not very helpful to study and work , Instead, it consumes your energy and time , There is a kind of programmer : They type very little code , Most of the code is copied and pasted from elsewhere to change , But the procedure they finally made was nothing wrong and stable . You might think :“ Don't you just copy and paste with your hands , Where are the skills of these people ?”
Their technology is embodied in :“ Search for what 、 Copy what 、 Paste what 、 Modify what 、 What to discard ”, They don't copy like headless flies , Every replication is planned , Copy what 、 Where to paste , I thought about it from the beginning .
Most of these people don't memorize , But it still works smoothly , It can be seen that whether it is the whole section or a single , It is far less important to remember the help that code brings to work than work experience .
Of course , There is always no harm in learning more , If you have extra energy and time , It is naturally good to remember some key commonly used code .
Now that you know the use of remembering code , Let's talk about how to remember code , What are the ways ?
One 、 Rote learning
Rote memorization is also known as Mechanical memory , It is the traditional copying of memory content 、 The process of reciting to memory , It is the most common and extensive method , Although very boring , But simple, rough and effective , Focus on one “ back ” word .
shortcoming : boring , There is no technicality . Not recommended !
Two 、 Associative memory
Use the connection between things in the way of association to remember . Association refers to remembering another related thing through what you currently feel or think , Or another thing triggered by one thing that comes to mind . Strengthening memory through association is a very common method . One of the main functions of memory is to establish connections in relevant experiences , The more active the association in thinking , The stronger the connection of experience . For example if 、else Connect with men's and women's toilets .
shortcoming : I need to have some imagination and Logical thinking . It is recommended to use !
3、 ... and 、 Drawing memory method
The human brain processes pictures much faster than words , The content that can be covered on the photo may need thousands of words to explain . This is what we often say that one picture wins ten thousand words .
Not to mention the speed of memory . Human brain is naturally interested in colorful things like animation , Memory speed is also very fast , It's unforgettable to see it once . Words are boring , It's hard to stimulate the cerebral cortex , Naturally, it's hard to remember . If you can show the boring political books in the form of cartoons , Is it easy to remember a lot ?
shortcoming : Interesting picture textbooks are scarce , To draw by yourself, you need to learn this knowledge point with words first , stultify oneself .
Four 、 Proficiency in memory
Just like what we said above , Because the code can be typed through search even if you don't remember it well , So you can ignore the memory code first , Normal work and study , If you type too many codes, you will remember them naturally , Even if I don't remember everything, I will remember probably .
shortcoming : Memory speed is slow , Memory accuracy is low .
边栏推荐
- Simulation volume leetcode [general] 1314 Matrix area and
- Isam2 and incrementalfixedlagsmooth instructions in gtsam
- [C language] string left rotation
- Digital triangle model acwing 1015 Picking flowers
- Error getting a new connection Cause: org. apache. commons. dbcp. SQLNestedException
- MFC on the conversion and display of long string unsigned char and CString
- Career advancement Guide: recommended books for people in big factories
- Still worrying about how to write web automation test cases? Senior test engineers teach you selenium test case writing hand in hand
- E - 食物链
- [no app push general test plan
猜你喜欢
Construction and integration of Zipkin and sleuth for call chain monitoring
Address bar parameter transmission of list page based on jeecg-boot
Past and present lives of QR code and sorting out six test points
LeetCode 732. My schedule III
Full link voltage measurement: building three models
Black cat takes you to learn EMMC Protocol Part 10: EMMC read and write operation details (read & write)
【MQTT从入门到提高系列 | 01】从0到1快速搭建MQTT测试环境
sourceInsight中文乱码
Apple has open source, but what about it?
Summary of anomaly detection methods
随机推荐
模拟卷Leetcode【普通】1109. 航班预订统计
E - food chain
LeetCode 729. My schedule I
Isam2 and incrementalfixedlagsmooth instructions in gtsam
模拟卷Leetcode【普通】1219. 黄金矿工
【MQTT从入门到提高系列 | 01】从0到1快速搭建MQTT测试环境
Simulation volume leetcode [general] 1405 Longest happy string
二维码的前世今生 与 六大测试点梳理
Online and offline problems
My daily learning records / learning methods
How to extract login cookies when JMeter performs interface testing
Difference between backtracking and recursion
Caused by:org. gradle. api. internal. plugins . PluginApplicationException: Failed to apply plugin
Simulation volume leetcode [general] 1109 Flight reservation statistics
模拟卷Leetcode【普通】1405. 最长快乐字符串
Luogu p2141 abacus mental arithmetic test
MySQL之基础知识
PHP uses redis to implement distributed locks
Black cat takes you to learn UFS protocol Chapter 18: how UFS configures logical units (Lu Management)
[mqtt from getting started to improving series | 01] quickly build an mqtt test environment from 0 to 1