我们的一个函数名, temporaryFixXXXX,已经三年了,还是 temporary - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
请不要在回答技术问题时复制粘贴 AI 生成的内容
ericgui
V2EX    程序员

我们的一个函数名, temporaryFixXXXX,已经三年了,还是 temporary

  •  
  •   ericgui 2021 年 2 月 27 日 4587 次点击
    这是一个创建于 1811 天前的主题,其中的信息可能已经有所发展或是发生改变。

    所以啊,程序员的 TODO 。。。。

    14 条回复    2021-02-27 18:04:15 +08:00
    noqwerty
        1
    noqwerty  
       2021 年 2 月 27 日 via Android
    哈哈,又不是不能用.jpg
    Trim21
        2
    Trim21  
       2021 年 2 月 27 日 via Android   5
    重命名成 permanentFix,todo 立刻移除
    Seddas
        3
    Seddas  
       2021 年 2 月 27 日 via iPhone
    这算啥,我见过七八年的 todo
    Ehco1996
        4
    Ehco1996  
       2021 年 2 月 27 日 via iPhone   1
    todo means never do
    hlwjia
        5
    hlwjia  
    PRO
       2021 年 2 月 27 日 via iPhone
    只能说这个 fix 写地很耐用
    itabas016
        6
    itabas016  
       2021 年 2 月 27 日 via Android   1
    TODO 意思是 I have an idea
    leega0
        7
    leega0  
       2021 年 2 月 27 日
    只要不是计划需求,能 do 的都 do 了,to do 的 never to do
    12101111
        8
    12101111  
       2021 年 2 月 27 日
    17 year old Firefox feature request fixed:
    https://news.ycombinator.com/item?id=26256459
    fucUup
        9
    fucUup  
       2021 年 2 月 27 日
    做就是爱, 不做证明你不爱
    git00ll
        10
    git00ll  
       2021 年 2 月 27 日
    todo 补充这里的注释
    mingl0280
        11
    mingl0280  
       2021 年 2 月 27 日 via Android
    我一般会在写完一个项目以后用 todo explorer 扫一下代码看看还剩啥 todo 没,有的话赶紧给实现了。
    wd
        12
    wd  
       2021 年 2 月 27 日 via iPhone
    @Trim21 你还别说,改名也是个 todo..
    CEBBCAT
        13
    CEBBCAT  
       2021 年 2 月 27 日   1
    Use TODO comments for code that is temporary, a short-term solution, or good-enough but not perfect.

    TODOs should include the string TODO in all caps, followed by the name, e-mail address, bug ID, or other identifier of the person or issue with the best context about the problem referenced by the TODO. The main purpose is to have a consistent TODO that can be searched to find out how to get more details upon request. A TODO is not a commitment that the person referenced will fix the problem. Thus when you create a TODO with a name, it is almost always your name that is given.

    ```
    // TODO([email protected]): Use a "*" here for concatenation operator.
    // TODO(Zeke) change this to use relations.
    // TODO(bug 12345): remove the "Last visitors" feature.
    ```

    If your TODO is of the form "At a future date do something" make sure that you either include a very specific date ("Fix by November 2005") or a very specific event ("Remove this code when all clients can handle XML responses.").

    出自: https://google.github.io/styleguide/cppguide.html#TODO_Comments
    ipwx
        14
    ipwx  
       2021 年 2 月 27 日   1
    我寻思能工作三年的 temporaryFix 的质量,早就经过实践检验,可以称得上是 stableFix 了。
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2535 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 30ms UTC 14:06 PVG 22:06 LAX 06:06 JFK 09:06
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86