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

What is the employment prospect of software testing? There is a large demand for talents and strong job stability
![[first launch in the whole network] one month later, we switched from MySQL dual master to master-slave](/img/2f/b894569c8d13c9c18fd201c12a5d07.png)
[first launch in the whole network] one month later, we switched from MySQL dual master to master-slave

Router loopback port experiment

8.数据仓库之ODS层搭建

UML (use case diagram, class diagram, object diagram, package diagram)

Distributed storage fastdfs

Distributed registry etcd

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

The latest news of spring recruitment in 2022: the average salary of it Internet industry is 18500 yuan

4.东软跨境电商数仓项目--数据采集通道搭建之用户行为数据采集通道搭建(2022.6.1-2022.6.4)
随机推荐
redis 源码分析3 间断遍历的实现
A comprehensive performance optimization, from 5 seconds to 1 second
ambari2.7.5集成es6.4.2
10.数据仓库搭建之DWD层搭建
聊聊redis分布式锁的8大坑
性能瓶颈查找-火焰图分析
Rxjs源码解析(一)Observable
MySQL - index
Use iceberg in CDP to pressurize the data Lake warehouse
用Flink SQL流化市场数据2:盘中风险价值
【Bug解决】org.apache.ibatis.type.TypeException: The alias ‘xxxx‘ is already mapped to the value ‘xxx‘
GoFrame 错误处理的常用方法&错误码的使用
Redis source code analysis dynamic string implementation (SDS)
线程池如何监控,才能帮助开发者快速定位线上错误?
使用Flink SQL传输市场数据1:传输VWAP
4.东软跨境电商数仓项目--数据采集通道搭建之用户行为数据采集通道搭建(2022.6.1-2022.6.4)
MySQL学习笔记(4)——(基本CRUD)操作数据库中的表的数据
Swagger configuration and use
柠檬班软件测试培训可靠吗 这个从培训班逆袭成功的案例告诉你
H5 how to obtain intranet IP and public IP