|
|
|
|
|
by Merkur
4056 days ago
|
|
I too like the idea that comments are more than blabber. I do use comments like //BUG: //TODO: and //HOT: My argument is semantic? Yes it is! In my optinion thats the reason my argument is so strong. Please dont tell me you dont see a problem between //go: foor and //todo: bar - the first instructing some tool to change stuff in your build, the later merly mention that there is something left to do here. A directive like #todo: bar - is a great example for a great tool in the chain. the go tool could look for a "todo" command and this todo command could print out a warning that the code should not be released because XX todos arn't done. If the go tool would'nt find a "todo" command it could warn me that a tool in the chain is missing. I could evaluate in decide to use get this tool, or choose to ignore it. This would be imposible if comments are missused as directives! |
|