current position:Home>[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 !
copyright notice
author[Programmer fish skin],Please bring the original link to reprint, thank you.
https://en.chowdera.com/2022/175/20210529192243834y.html
The sidebar is recommended
- Examples of AES and RSA encryption operations implemented by php7.1
- Discussion on redis communication protocol
- Difference between X12 830 and 862 messages
- Can Tencent's tendis take the place of redis?
- As one of the bat, what open source projects does Tencent have?
- Programmer: after 5 years in a company with comfortable environment, do you want to continue to cook frogs in warm water or change jobs?
- Install MySQL in docker and modify my CNF profile
- 2021-06-02: given the head node of a search binary tree, it will be transformed into an ordered two-way linked list with head and tail connected.
- Concentrate on research preparation, Tencent cloud, see you next year!
- Cryptography series: collision defense and collision attack
guess what you like
How to make Baidu quickly include its own personal website?
The operation and maintenance boss laughed at me. Don't you know that?
Practice of dynamic load balancing based on open source tars
Use the object selection tool to quickly create a selection in Adobe Photoshop
The world's largest meat processor has been "blackmailed", how many industries will blackmail virus poison?
Istio FAQ: istio init crash
Clickhouse uses distributed join of pose series
[day ui] alert component learning
Do you really know "open source"? Please check [nanny level] open source Encyclopedia
Continuous testing | making testing more free: practicing automated execution of use cases in coding
Random recommended
- Pipeline shared library
- [2021 techo youth dry goods sorting post, there is always one you are interested in]
- pipeline groovy
- Pipeline post instruction
- Jenkins pipeline syntax
- How does the video networking / network penetration tool easynts permanently delete one of the devices?
- National standard platform easygbs administrator assigns roles to sub users and troubleshooting of invalid channels
- What is the reason why the video intelligent analysis platform easycvr is locally controllable but the superior equipment cannot control the subordinate equipment?
- RTMP streaming platform easydss video on demand interface search bar development label fuzzy query process introduction
- Conceptual analysis of DDD Domain Driven Design
- Process of solving easydss virtual live video jam and instability problems by replacing push-pull stream Library
- How to configure the national standard platform easygbs neutral version?
- How to evaluate software development projects reasonably?
- Smart photovoltaic energy - visualization of photovoltaic power generation energy management and control in the park
- A "full cloud" journey of a quasi financial system
- Automatic reconstruction of pod after modifying resource object
- Tencent security monthly report - zero trust development trend forum, digital Expo Technology Award, Mercedes Benz security research results
- Kubernetes log viewer - kubetail
- [5 minutes to play lighthouse] create an immersive markdown writing environment
- Tencent Youtu, together with Tencent security Tianyu and wechat, jointly launched an infringement protection scheme
- Hardware enterprise website ranking, 8 commonly used processes
- Fbnet/fbnetv2/fbnetv3: Facebook's lightweight network exploration in NAS | lightweight network
- A flaw in R markdown: folders cannot have Chinese
- Getting started with scrapy
- Detailed explanation of the execution order of the expression and loop body in the for loop
- Remote terminal RTU slope monitoring and early warning
- Jupyter notebook service installation and startup
- About Adobe Photoshop adjusting selection
- Kubernetes practical skills: use cert manager to issue free certificates for DNSPod domain names
- In depth analysis, from ordinary clock system to various time service modes
- What are the software prototyping tools?
- [tke] GPU node NVIDIA Tesla driver reinstallation
- A good habit that makes your programming ability soar
- Google hacking search engine attack and Prevention
- Data stack technology sharing: open source · data stack - extend flinksql to realize the join of flow and dimension tables
- Pinduoduo press the user accelerator key
- Installing sqlserver extension PDO of PHP under Linux_ sqlsrv
- Go basic series | 1 Leading
- Node cache vs browser cache
- Istio practical skills: implement header based authorization