Home
Sign Up
Sign In
V2EX
›
问与答
什么时候用驼峰命名法什么时候用下划线?
rundis
·
May 14, 2015
· 4394 views
This topic created in 4190 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
·
5677 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 35ms ·
UTC 03:08
·
PVG 11:08
·
LAX 19:08
·
JFK 22:08
♥ Do have faith in what you're doing.
❯