start 和 end 配对不会觉得别扭么

2018-12-13 14:39:08 +08:00
 innoink
我感觉 start 应该和 stop 是一对,begin 应该和 end 是一对
但看了好多 start-end 配对的,感觉好别扭
7191 次点击
所在节点    C
30 条回复
cyssxt
2018-12-13 14:42:07 +08:00
你这么说也是 平时都是 startTime 和 endTime 只有 start 是方法时匹配是 stop 现在想想是挺变扭的
zpfhbyx
2018-12-13 14:44:10 +08:00
start 名词的时候才对应 end 吧? 动词对应 stop?
maplelin
2018-12-13 14:46:06 +08:00
一般的桌游棋类游戏,也是 start 代表起点的意思吧,都没见过 begin 的,这里应该算是名词。
ooo3o
2018-12-13 14:52:19 +08:00
确实别扭, 因为字符数不相等, 上下两行写对不齐.
所以一般写为 sta-end, 或 start-ended, 彻底对齐.
zsdroid
2018-12-13 14:53:02 +08:00
你把 finish 置于何地了?
wutiantong
2018-12-13 15:00:47 +08:00
既然都提到 finish 了,再加个 close 吧
wutiantong
2018-12-13 15:05:53 +08:00
@ooo3o 我也有对齐强迫症,我用 pos/end 或者 beg/end
chengluyu
2018-12-13 15:06:07 +08:00
无所谓的,本来就是可互换的,英语为母语的人也觉得无所谓:

> I would go with simple past on all of those. It doesn't matter whether you use began/started or finished/ended, since they are interchangeable.

摘自 https://english.stackexchange.com/questions/95671/start-vs-begin-finish-vs-end
14night
2018-12-13 15:24:07 +08:00
你把人家都当成动词了...
orangeade
2018-12-13 15:29:45 +08:00
固定搭配 start time,end time 无所谓了,
自己定义变量名还是喜欢 start-stop,begin-end
Donne
2018-12-13 15:30:53 +08:00
前短后长还能接受,start end 前长后短视最难受的吗,不对齐还头大
shintendo
2018-12-13 15:35:17 +08:00
用 fromTime toTime 的我瑟瑟发抖
across
2018-12-13 15:36:45 +08:00
Pascal: 这 tm 还用你说
cluulzz
2018-12-13 15:47:06 +08:00
start 配 ko?
Mohanson
2018-12-13 15:50:39 +08:00
tic, toc。表示在座各位都是…那啥
Mohanson
2018-12-13 15:52:54 +08:00
tic, toc 是 matlab 函数,专门指代 starttime, endtime。是闹钟声音 tick tock 的简写
otakustay
2018-12-13 16:22:27 +08:00
抛开单词问题,start 和 end 配对一个很严重的麻烦是,不知道 end 是 inclusive 还是 exclusive 的……
M0
2018-12-13 16:25:34 +08:00
我写的上括号和下括号必须对其…
Fate810
2018-12-13 16:32:21 +08:00
start-gg
RobertYang
2018-12-13 16:36:22 +08:00
Verilog HDL 强行矫正 begin end

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/517223

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX