lxg99527
V2EX  ›  Android

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

  •  
  •   lxg99527 · Sep 18, 2015 · 12435 views
    This topic created in 3907 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   ·   Solana   ·   2740 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 04:49 · PVG 12:49 · LAX 21:49 · JFK 00:49
    ♥ Do have faith in what you're doing.