前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >一些SAP UI5代码审查的例子

一些SAP UI5代码审查的例子

作者头像
Jerry Wang
发布2019-05-31 11:13:15
3420
发布2019-05-31 11:13:15
举报

版权声明:本文为博主汪子熙原创文章,未经博主允许不得转载。 https://cloud.tencent.com/developer/article/1439828

目录:

1. Group id decrease

Why the group id for com.sap.fiori is decreased from 1.5.6 to 1.5.1?

2. Best practice for constant definition

这个涉及到JavaScript里定义常量的最佳实践。

  1. Where is this oVersioningModel used?

I cannot search any other used list for oVersioningModel in S3.controller.js

4. What does backend 5 mean?

这个注释写得不太好,让人看不懂

5. Does this 8 mean wave8?

这个变量名里的8也让人费解。

6. Wrong comment

7. Code format

虽然这不是我们写的,但是看着难受。

作为一个强迫症患者,Jerry能表示这段代码看起来很难受。

而且单步调试特别不方便:

8. Unused parameter index

下面这个index参数实际上没有用到。

9. Return false to terminate the loop inside jQuery.each.

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019年02月01日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 1. Group id decrease
  • 2. Best practice for constant definition
  • 4. What does backend 5 mean?
  • 5. Does this 8 mean wave8?
  • 6. Wrong comment
  • 7. Code format
  • 8. Unused parameter index
  • 9. Return false to terminate the loop inside jQuery.each.
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档