常见的代码tag:
FIXME - should be corrected.
HACK - a workaround.
TODO - something to be done.
UNDONE - a reversal or “roll back” of previous code.
XXX - warn other programmers of problematic or misguiding code
UX - user experience, notice about non-trivial code.
例如:
/* TODO: How about auto-correcting small spelling errors? */
/* FIXME: This won't work if the file is missing. */
/* XXX: This method badly needs refactoring: should switch by core type. <mbp> */
常见的代码风格:
There are many stylistic alternatives available when considering how comments should appear in source code. For larger projects involving a team of devel