当前位置:网站首页>Six stones programming: about code, there are six triumphs
Six stones programming: about code, there are six triumphs
2022-07-04 20:21:00 【Liu Kunpeng】
I am often proud of my code . Why proud ? Of course, I feel good . I feel good , In fact, it is also compared . So I thought carefully , Summed up six complacency :
- Clean up useless code
These codes ( With comments ) No one uses it , It's a waste of energy to keep it .
Someone asked , What day do I need to refer to ? Now there is version management , Just check it out .
- Standard naming
By naming , Express the meaning accurately and clearly , It's not easy . Thanks to my language and vocabulary expertise , At this point, I am far superior to others .
- alignment
Alignment code , It is the unique proposition of six stone programming . By aligning , The code becomes neat and beautiful , Feast for the eyes .
- Get rid of weird code
What is weird code ? There is no basis 、 source , There's no reason , It may be the code to solve a problem . such as : Inexplicably added a value ( Such as 0.25), Or multiply by a coefficient , Or a piece of code that deals with a particular situation .
- Merge code
I often add parameters , Merge similar code . In this way, the amount of code can be reduced , Feel a lot , Actually less than expected . The key is to avoid weird mistakes , One modification is all correct .
- Use technique
To solve the problem , The use of other people almost unexpected ( Refers to or participates in related work ) The technique of . Of course, I am very proud .
边栏推荐
- [QNX Hypervisor 2.2用户手册]6.3.1 工厂页和控制页
- Niuke Xiaobai month race 7 F question
- Multi table operation inner join query
- New wizard effect used by BCG
- Utilisation de la barre de progression cbcggprogressdlgctrl utilisée par BCG
- Optimization cases of complex factor calculation: deep imbalance, buying and selling pressure index, volatility calculation
- 做社交媒体营销应该注意些什么?Shopline卖家的成功秘笈在这里!
- 原来这才是 BGP 协议
- BCG 使用之CBCGPProgressDlgCtrl進度條使用
- Actual combat simulation │ JWT login authentication
猜你喜欢

Siemens HMI download prompts lack of panel image solution

The company needs to be monitored. How do ZABBIX and Prometheus choose? That's the right choice!

Dynamic memory management

Free soldier

Process of manually encrypt the mass-producing firmware and programming ESP devices

实战模拟│JWT 登录认证

BCG 使用之CBCGPProgressDlg进度条使用

Abc229 summary (connected component count of the longest continuous character graph in the interval)

Introduction to ACM combination counting

关于联邦学习和激励的相关概念(1)
随机推荐
Kotlin inheritance
1007 maximum subsequence sum (25 points) (PAT class a)
Chrome开发工具:VMxxx文件是什么鬼
同事的接口文档我每次看着就头大,毛病多多。。。
Actual combat simulation │ JWT login authentication
MySQL中的日期时间类型与格式化方式
Pointnext: review pointnet through improved model training and scaling strategies++
kotlin 条件控制
实践示例理解js强缓存协商缓存
BCG 使用之CBCGPProgressDlg进度条使用
华为nova 10系列支持应用安全检测功能 筑牢手机安全防火墙
HDU 1097 A hard puzzle
Huawei Nova 10 series supports the application security detection function to build a strong mobile security firewall
Multi table operation inner join query
92. (cesium chapter) cesium building layering
紫光展锐完成全球首个 5G R17 IoT NTN 卫星物联网上星实测
Creation of JVM family objects
[graduation season] green ant new fermented grains wine, red mud small stove. If it snows late, can you drink a cup?
Qt编写物联网管理平台38-多种数据库支持
JVM系列之对象的创建