当前位置:网站首页>编程风格
编程风格
2022-07-17 05:09:00 【IChocolateKapa】
工作了两年了,觉得自己的编程风格一向良好,不断进步中。前几天有位新同事对着我的代码说:代码写成这样,太难看了,简直没法看。。。。气愤如斯,恨不能为觉得我不成器捶胸顿足。然后挥“键盘”改成了他口中好看的代码。。。。。
然后就看到了我的 :
if (condition) {
} else {
}
for () {
}if()
{
}
else
{
}
for()
{
}我还是更加谨慎的使用 http://www.hawstein.com/posts/google-java-style.html 里面的规范吧。
边栏推荐
猜你喜欢

Wechat applet learning notes

Face scum counter attack: thread pool lethal serial eighteen questions, the interviewer praised me straight

Distributed storage fastdfs

Using Flink SQL to fluidize market data 2: intraday var

8.数据仓库之ODS层搭建

柠檬班软件测试培训可靠吗 这个从培训班逆袭成功的案例告诉你

Interviewer: how to solve the problem of a large number of requests for data that does not exist in redis, which affects the database?

What is the employment prospect of software testing? There is a large demand for talents and strong job stability

2022年春招最新消息:IT互联网行业平均薪资18500元

线上软件测试培训机构柠檬班与iTest.AI平台达成战略合作
随机推荐
SQL练习题集合
时间差计算
指针数组&数组指针
从20s优化到500ms,我用了这三招
10 question 10 answer: do you really know thread pools?
东软跨境电商数仓开发进度
线程池如何监控,才能帮助开发者快速定位线上错误?
判断素数
基于libco的协程实现6 libcurl的同步接口的实现方案
C语言的高级操作
A comprehensive performance optimization, from 5 seconds to 1 second
Parent components plus scoped sometimes affect child components
Distributed storage fastdfs
Common (Consortium)
Talk about the 8 pits of redis distributed lock
1 SparkSQL概述
Data visualization
柠檬班软件测试培训可靠吗 这个从培训班逆袭成功的案例告诉你
SQL injection
递归的应用