当前位置:网站首页>How to quickly learn a programming language
How to quickly learn a programming language
2022-07-26 08:59:00 【apprentice.】
I wanted to learn a language before , Always on b Stand and look for a teaching video from beginning to end . This learning method belongs to the training class Learning from , Although the learning is relatively systematic , But in the end, the knowledge you master is often those used in the project , Others may just remember a noun in retrospect . And the videos of this training class are often aimed at students with zero foundation , For those who have mastered a language before learning the new language , This method is too slow , It often appears that after reading a few sections of things, I feel like I can talk about them for a long time , Gradually, I have no patience to watch . After the previous lesson again and again , Now gradually summed up a set of ways to learn a language quickly .
I've been studying in recent days Go Language . about Go The language is also relatively strange , To master this language quickly in a short time , I summarized the following experience .
First of all, have a goal , What is the purpose of learning this language , It can't be a very general goal ( For example, to write code and improve personal skills ). And a very precise target , For example, I learn Go, Just to use Go Language development a xx Back end projects for . I learned Python, Just to use Python Of Djongo/Flask Develop a xx Front and back end items of function , Or for xx Data analysis of . I learned Java, Is to write a with xx Functional Android app, Or to use SpringBoot To develop a xx The back end of the platform ……
With a clear goal , It's much easier to learn . First of all, because you have a certain programming language foundation , Learning another language generally means that the grammar has changed , But the core programming idea is basically unchanged . After knowing the most basic grammar ( Such as : How to define variables , Print log, Write condition control 、 Loop statement , Object-oriented syntax , Built in data structure ), You can on LeetCode Brush a few lines on the easy To get familiar with grammar . The reason why I want to brush questions , The main reason is that the grammar used when brushing questions is often not particularly advanced grammar ( Because some advanced grammar will increase time / Spatial complexity ), Only use basic grammar . Such grammar is more suitable for consolidating the foundation of the new language learned .
After being familiar with basic grammar , You can come directly Learn the frameworks you need to accomplish your goals / Technology . For example, my goal is to use Go Language is the platform backend of a network disk system , Then I need to have a look Go How does language do the back end . Use by consulting Gin The framework is based on Go Language is the most widely used back-end framework , So you can look directly at Gin Official documents of , To get a general idea of how this framework works . How to use postman Visit and return hello world, How to view post Request the body carried by the request and handle it accordingly , How to use Gin To accept documents, etc . After understanding these things , You can find some on the Internet Gin Project practice course , If self-study ability is particularly strong , You can even go directly Github To find more basic Gin project .
If we check and read online Gin During the actual combat tutorial , It depends not only on how others realize their functions , We should also think that the tutorial is written to meet other people's own needs , If I want to fulfill my own needs , How to draw inferences from one instance , How to write my own needs , Even in the process of learning , You can write your own requirements code locally . in the meantime , When you encounter grammar that you can't understand , You can check relevant grammar in Baidu at any time , Learn grammar while actually looking at the code , Efficiency is much higher than simply learning grammar , Because you learn with problems .
边栏推荐
- pl/sql之集合-2
- Cve-2021-26295 Apache OFBiz deserialization Remote Code Execution Vulnerability recurrence
- Neo eco technology monthly | help developers play smart contracts
- Hegong sky team vision training Day6 - traditional vision, image processing
- Oracle 19C OCP 1z0-083 question bank (7-12)
- at、crontab
- Rocky基础练习题-shell脚本2
- Media at home and abroad publicize that we should strictly grasp the content
- 合工大苍穹战队视觉组培训Day6——传统视觉,图像处理
- ES6 modular import and export) (realize page nesting)
猜你喜欢
Set of pl/sql
day06 作业--技能题1
My meeting of OA project (meeting seating & submission for approval)
Hegong sky team vision training Day6 - traditional vision, image processing
数据库操作 题目二
uni-app 简易商城制作
Solve the problem of C # calling form controls across threads
Form form
In the first year of L2, the upgrade of arbitrum nitro brought a more compatible and efficient development experience
03异常处理,状态保持,请求钩子---04大型项目结构与蓝图
随机推荐
数据库操作 题目一
Foundry教程:使用多种方式编写可升级的智能合约(上)
Use index to optimize SQL query "suggestions collection"
Arbitrum launched the anytrust chain to meet the diverse needs of ecological projects
Which financial product has the highest yield in 2022?
day06 作业--增删改查
Huffman transformation software based on C language
at、crontab
Web3 Games: current situation and future
SSH,NFS,FTP
Which of count (*), count (primary key ID), count (field) and count (1) in MySQL is more efficient? "Suggested collection"
Study notes of automatic control principle -- dynamic model of feedback control system
JDBC database connection pool (Druid Technology)
Replication of SQL injection vulnerability in the foreground of Pan micro e-cology8
day06 作业--技能题6
Datawhale panda book has been published!
The largest number of statistical absolute values --- assembly language
[untitled]
OA项目之我的会议(会议排座&送审)
Center an element horizontally and vertically