EspressoSystems / cape

Configurable Asset Privacy for Ethereum
https://cape.docs.espressosys.com/
GNU General Public License v3.0
97 stars 16 forks source link

No TODO comments, but Git Hub issues are fine #562

Closed philippecamacho closed 2 years ago

philippecamacho commented 2 years ago

Only CAPE repository.

Check the following directories

alxiong commented 2 years ago

Honestly, as I'm removing the TODO, I started to think this guideline is not the best idea.

Conventionally, people have keywords like TODO: | FIXME: | NOTE: | ... in code comment for different purposes. Inlined TODO and github issue should be complementary rather than exclusive since you can only link to a file at specific commit, and might get out of sync if the code gets modified or removed.

The best workflow IMHO is add temporary TODO: during development, and once in a while (before next release or end of a sprint or milestone) we turn them into issue & update the TODO to link to the github issue instead of directly removing the comment. Meanwhile, we should remove all FIXME: before each release of course.

☝️ benefit of this workflow is:

(cc @pictographer, @philippecamacho )

philippecamacho commented 2 years ago

Decision: only remove the obsolete TODOs cc @alxiong @sveitser