How do you flag code so that you can come back later and work on it?

前端 未结 23 2281
后悔当初
后悔当初 2020-12-24 11:46

In C# I use the #warning and #error directives,

#warning This is dirty code...
#error Fix this before everything explodes!
<         


        
23条回答
  •  执念已碎
    2020-12-24 12:16

    gvim highlights both "// XXX" and "// TODO" in yellow, which amazed me the first time I marked some code that way to remind myself to come back to it.

提交回复
热议问题