当前位置:网站首页>编程风格
编程风格
2022-07-17 05:09:00 【IChocolateKapa】
工作了两年了,觉得自己的编程风格一向良好,不断进步中。前几天有位新同事对着我的代码说:代码写成这样,太难看了,简直没法看。。。。气愤如斯,恨不能为觉得我不成器捶胸顿足。然后挥“键盘”改成了他口中好看的代码。。。。。
然后就看到了我的 :
if (condition) {
} else {
}
for () {
}if()
{
}
else
{
}
for()
{
}我还是更加谨慎的使用 http://www.hawstein.com/posts/google-java-style.html 里面的规范吧。
边栏推荐
- 【Bug解决】org.apache.ibatis.type.TypeException: The alias ‘xxxx‘ is already mapped to the value ‘xxx‘
- What is the employment prospect of software testing? There is a large demand for talents and strong job stability
- Single arm routing configuration
- Is the cookie valid for a limited time? How to set cookies? Teach you to set by hand
- Advanced operation of C language
- Round robin schedule problem
- Syntax differences between PgSQL and Oracle (SQL migration records)
- mysql的使用
- GoFrame 错误处理的常用方法&错误码的使用
- Common (Consortium)
猜你喜欢

Buuctf miscellaneous - QR code

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

MySQL installation and configuration tutorial (super detailed)

MySQL安装配置教程(超级详细)

ubantu中gcc编译C语言小问题

Talk about 20 negative teaching materials for writing code

11.数据仓库搭建之DWS层搭建

Using Flink SQL to fluidize market data 2: intraday var

用户态协议栈-基于netmap的UDP实现

Data visualization
随机推荐
操作系統常見面試題
Swagger configuration and use
特殊指针的一些应用
C语言的宏定义
Minor problems of GCC compiling C language in ubantu
MySQL--触发器与视图
2022年春招最新消息:IT互联网行业平均薪资18500元
Character processing function
typedef
在 CDP中使用Iceberg 为数据湖仓增压
Spark核心编程(4)--Spark运行架构
Pointer function of C language
柠檬班软件测试培训可靠吗 这个从培训班逆袭成功的案例告诉你
H5 how to obtain intranet IP and public IP
typedef
redis 源码分析 动态字符串实现(sds)
mysql的事务
redis 源码分析 跳表实现
Network command: network card information, netstat, ARP
用Flink SQL流化市场数据2:盘中风险价值