Home
Sign Up
Sign In
V2EX
›
问与答
什么时候用驼峰命名法什么时候用下划线?
rundis
·
May 14, 2015
· 4428 views
This topic created in 4209 days ago, the information mentioned may be changed or developed.
rt,不知道各什么时候用比较合适。。
下划线
驼峰
命名
3 replies
rundis
OP
May 14, 2015
1
我记得是不是说类名用驼峰命名法然后其他用下划线?
adspe
May 14, 2015
1
2
DOM编程艺术里写的是Function用驼峰,Variable用下划线。
rundis
OP
May 15, 2015
3
@
adspe
哦谢谢!话说dom编程艺术是什么书?是关于代码风格的吗?
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1124 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 42ms ·
UTC 17:57
·
PVG 01:57
·
LAX 09:57
·
JFK 12:57
♥ Do have faith in what you're doing.
❯