lxg99527
V2EX  ›  Android

为了神圣的代码 style,请各位投下票,谢谢。 写代码的大括号是怎么写的?!

  •  
  •   lxg99527 · Sep 18, 2015 · 12775 views
    This topic created in 4002 days ago, the information mentioned may be changed or developed.
    A:大括号必须换行

    B:大括号必须不换行,并且,大括号前必须有空格

    C:大括号必须不换行,并且,大括号前必须有空格

    D:我不写带括号的代码
    ugvfpdcuwfnh
        1
    ugvfpdcuwfnh  
       Sep 19, 2015
    圣战贴
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   952 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:11 · PVG 04:11 · LAX 13:11 · JFK 16:11
    ♥ Do have faith in what you're doing.