当前位置:网站首页>[programming navigation] the practical code summarized by foreign great God, learned in 30 seconds!
[programming navigation] the practical code summarized by foreign great God, learned in 30 seconds!
2022-06-24 12:35:00 【Programmer fish skin】
Excellent short code snippets commonly used in development , It's all here .
Programming navigation Committed to recommending quality programming resources
Project open source repository :https://github.com/liyupi/code-nav
Kneel down and ask for one star ️
Hello everyone , I'm Yuer . I found that many friends have such a problem when they learn programming , Although watching video tutorials or books can understand , But left the tutorial , I can't write the code myself , Not to mention writing good code .
Besides , I'm working , I found some programmers around me , Although it can write executable code , But the code is rough , Sometimes 1 The function that a line of code can accomplish, they're going to write 10 That's ok 、20 That's ok , I'm tired .
Why do these problems arise ? Not necessarily just because the code is written less , It's more because you don't see much code .
It's important to learn programming and practice , But look at other people's project code 、 It's also important to learn how to write well !
So today I recommend a very practical website , It was built by foreign gods , be known as 30 seconds of code .
Stand as you call it , This website collects short code fragments that programmers often use in their development work , The goal is to pass 30 Seconds to teach you to write good code . Support JavaScript、CSS、Python Programming language , as well as React、Node And other mainstream technologies , Can help you master the video tutorial did not have the opportunity to learn excellent code writing and practical programming skills .
With JavaScript Language as an example , We can choose the code fragment we want to learn according to the classification , You can see the list of articles .
Enter an article , Like this How can I define an enum in JavaScript? How to work in JavaScript Define an enumeration in .
You probably think it's very simple , It's easy to write similar code :
// Date enumeration
const daysEnum = {
monday: 0,
tuesday: 1
}); If you just follow the video tutorial and type the code , I never thought that this writing method is actually wrong ! That is to use const Constant keyword , But the properties inside the object can still be modified , Does not meet enumeration class requirements .
And in this article , Provides a standard enumeration definition method , Sure enough, it's very short , Not even 30 I learned in seconds . The article also includes programming ideas and code explanation , Not only to teach you to write good code , And guide you to think about how to write good code .
The website has collected hundreds of excellent short code fragments , I strongly recommend that all learning front end 、Python Students waiting for language spend a little time every day , Brush all the excellent examples on the website , It will definitely improve your programming ability . Even if there's no time to get through customs , You can also use the search function provided by the website , When there is a problem , Just find the code you need according to the key words ~
Welcome to have a try , If this article helps you , Please help me, too Fabulous La !️
Project address :https://www.code-nav.cn/rd/?rid=17453ede60863097044dfbbd13e335ad
stay Programming navigation We can also find more high-quality programming learning resources , Welcome to share it with the students in need !
边栏推荐
- Continuous testing | test process improvement: practice continuous testing within iterations in coding
- About Adobe Photoshop adjusting selection
- As one of the bat, what open source projects does Tencent have?
- How to make Baidu quickly include its own personal website?
- 12+!不同癌症中TMB与ICI反应之间的免疫相关因素研究
- 11+! Methylation modification patterns based on m6A regulatory factors in colon cancer are characterized by different tumor microenvironment immune spectra
- Adjustment method of easynvr video platform equipment channel page display error
- Continuous testing | key to efficient testing in Devops Era
- The opportunity to teach cloud development a lesson has finally come!
- Jupyter notebook service installation and startup
猜你喜欢

GLOG from getting started to getting started

Installation and operation of libuv

QT -- the qtabwidget supports dragging tabbar items

Opencv learning notes - regions of interest (ROI) and image blending
Database migration tool flyway vs liquibase (II)

巴比特 | 元宇宙每日必读:618成绩已然揭晓,在这份还算满意的答卷背后,数字藏品做出了多少贡献?...

文本转语音功能上线,可以体验专业播音员的服务,诚邀试用

How stupid of me to hire a bunch of programmers who can only "Google"!

Linker --- linker

MySQL 外键影响
随机推荐
Istio FAQ: istio init crash
The opportunity to teach cloud development a lesson has finally come!
12+!不同癌症中TMB与ICI反应之间的免疫相关因素研究
打新债的条件 开户是安全的吗
Fbnet/fbnetv2/fbnetv3: Facebook's lightweight network exploration in NAS | lightweight network
微医CodeReview工具链
Single gene pan cancer + simple experiment can be published 7 points+
A "full cloud" journey of a quasi financial system
Pipeline shared library
Tencent cloud and the ICT Institute launched the preparation of the "cloud native open source white paper" to deeply interpret cloud native
巧妙构思-铁死亡调节因子分型预后发6+
Kubernetes best practice: graceful termination
Deep learning ~11+ a new perspective on disease-related miRNA research
Istio practical skills: implement header based authorization
Encapsulate the method of converting a picture file object to Base64
The pod is evicted due to insufficient disk space of tke node
What are the low threshold financial products in 2022? Not much money
Opencv learning notes - regions of interest (ROI) and image blending
It's settled! Bank retail credit risk control just does it!
Cloud native database: the outlet of the database, you can also take off