rundis
V2EX  ›  问与答

什么时候用驼峰命名法什么时候用下划线?

  •  
  •   rundis · May 14, 2015 · 4104 views
    This topic created in 4037 days ago, the information mentioned may be changed or developed.

    rt,不知道各什么时候用比较合适。。

    rundis
        1
    rundis  
    OP
       May 14, 2015
    我记得是不是说类名用驼峰命名法然后其他用下划线?
    adspe
        2
    adspe  
       May 14, 2015   ❤️ 1
    DOM编程艺术里写的是Function用驼峰,Variable用下划线。
    rundis
        3
    rundis  
    OP
       May 15, 2015
    @adspe 哦谢谢!话说dom编程艺术是什么书?是关于代码风格的吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   967 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 20:54 · PVG 04:54 · LAX 13:54 · JFK 16:54
    ♥ Do have faith in what you're doing.