MarioLuisGarcia

编程如山倒,debug 如抽丝,不知各位有没有同感?

  •  
  •   MarioLuisGarcia · Mar 16, 2014 · 3344 views
    This topic created in 4625 days ago, the information mentioned may be changed or developed.
    7 replies  •  1970-01-01 08:00:00 +08:00
    dcoder
    dcoder
    Mar 16, 2014❤️1
    1
    你“编程如山倒”的时候log没做够,呵呵
    MarioLuisGarcia
    MarioLuisGarcia
    OP
    Mar 16, 2014
    2
    @dcoder 受教了,请问关于编程时如何做log有无方法推荐?给两个关键词就行。
    terrytowne
    terrytowne
    Mar 16, 2014
    3
    TDD
    nichan
    nichan
    Mar 16, 2014
    4
    编程如山倒之前没有构思如抽丝的过程。
    akfish
    akfish
    Mar 16, 2014
    5
    连续集成。
    一口气写完固然爽,看起来也nb,如果功力不到/技能没完全冷却/人品值耗完,出一堆bug来源都不知道,就望着哭吧。
    zhujinliang
    zhujinliang
    Mar 18, 2014
    6
    我感觉 编程如抽死,debug如放血。。。
    dcoder
    dcoder
    Mar 18, 2014
    7
    @MarioLuisGarcia 有事无事都check下返回值,都把自己大代码包在 try{} 里面,写好各种 expection handler, 不需要很复杂,只需要出了错大概是那一行就行。
    当然,如果你玩 C/C++, debug是很痛苦一些。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1541 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 16:39 · PVG 00:39 · LAX 08:39 · JFK 11:39
    ♥ Do have faith in what you're doing.