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

前端 未结 23 2291
后悔当初
后悔当初 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:22

    //TODO: Person's name - please fix this.

    This is in Java, you can then look at tasks in Eclipse which will locate all references to this tag, and can group them by person so that you can assign a TODO to someone else, or only look at your own.

提交回复
热议问题