V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xcc3641
V2EX  ›  问与答

大家写代码时候,会有一些座右铭吗?

  •  
  •   xcc3641 · Nov 12, 2015 · 4718 views
    This topic created in 3822 days ago, the information mentioned may be changed or developed.
    ·比如我个人写代码会写上:
    代码是灵魂,注释是心声
    26 replies    2015-11-13 04:33:16 +08:00
    abelyao
        1
    abelyao  
       Nov 12, 2015
    代码如诗
    kkhaike
        2
    kkhaike  
       Nov 12, 2015   ❤️ 1
    佛祖保佑,没有 bug
    laoyuan
        3
    laoyuan  
       Nov 12, 2015   ❤️ 2
    先跑起来再说
    Slienc7
        4
    Slienc7  
       Nov 12, 2015
    那年,还在初中
    bk201
        5
    bk201  
       Nov 12, 2015
    产品狗不得好死
    Valyrian
        6
    Valyrian  
       Nov 12, 2015
    不为最快,只为最短
    saber000
        7
    saber000  
       Nov 12, 2015
    TODO
    oubushixb
        8
    oubushixb  
       Nov 12, 2015
    默念逻辑->重复->提炼->逻辑....无限循环
    tking4
        9
    tking4  
       Nov 12, 2015
    听说,跪着写代码不会有 BUG
    harry890829
        10
    harry890829  
       Nov 12, 2015
    我小弟总喜欢用自己的英文名作为类 /全局变量的前缀
    Comdex
        11
    Comdex  
       Nov 12, 2015
    不作死就不会死
    wintercomming
        12
    wintercomming  
       Nov 12, 2015
    求上帝让我接受不完美
    YellowDi
        13
    YellowDi  
       Nov 12, 2015
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    bk201
        14
    bk201  
       Nov 12, 2015
    @harry890829 我以前也喜欢这么干,被我同事骂了一通。但是你知道么,起一个独一无二的名字真难。
    harry890829
        15
    harry890829  
       Nov 12, 2015
    @bk201 我们项目小,让他写个类给我,非要起自己的英文名,真是……气死了
    Kilerd
        16
    Kilerd  
       Nov 12, 2015
    写着先,以后再重构。

    然后我就忘了。
    Orzpls
        17
    Orzpls  
       Nov 12, 2015 via Android
    买房买车结婚。
    otakustay
        18
    otakustay  
       Nov 12, 2015
    这代码没 UT ,吃枣药丸
    Shevckcccc
        19
    Shevckcccc  
       Nov 12, 2015
    墨菲定律:如果你担心某种情况发生,那么它将来就更有可能发生。
    每次写代码之前多想想这句话,就可以避免很多坑...
    timwu
        20
    timwu  
       Nov 12, 2015
    Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren ’ t sure which way to do something, do it both ways and see which works better. — John Carmack
    xieweizhi007
        21
    xieweizhi007  
       Nov 12, 2015
    能实现需求, 又能通过测试.
    SeanChense
        22
    SeanChense  
       Nov 12, 2015
    昨天才写的:必须树立一种信仰—— delegate 中的方法不能被调用一定是没有设置 delegate 的关系。
    rokeyzki
        23
    rokeyzki  
       Nov 12, 2015
    代码从不说谎,但是注释会
    lightening
        24
    lightening  
       Nov 12, 2015
    Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live.
    jydeng
        25
    jydeng  
       Nov 12, 2015
    能少写一行就少写一行
    msg7086
        26
    msg7086  
       Nov 13, 2015
    听说,穿女装写代码 BUG 少。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   967 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 71ms · UTC 23:11 · PVG 07:11 · LAX 16:11 · JFK 19:11
    ♥ Do have faith in what you're doing.