本文介绍了代码注释中的#XXX是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在代码中看到了很多,甚至vim都将其标记为特例。 #TODO #FIXME 是vim突出显示的另外两个修复标记,但是 #XXX 是什么意思?

I have seen this a lot in code, even vim marks it as a special case. #TODO and #FIXME are two other fix markers vim highlights but what does #XXX mean?

推荐答案

XXX 通常是单挑。可能是:

XXX in a comment is usually a heads-up. It could be:


  • 未完全正确实施的事情。

  • 稍后应解决的问题

  • 突出显示可能的问题点。

  • 您不确定的问题。

  • Something that's not implemented completely correctly.
  • Something that should be fixed later on.
  • Highlighting a possible problem spot.
  • Something you're not sure about, a question.

我通常更喜欢使用更具描述性的标签,例如 FIXME TODO HACK XXX 通常被用作上述内容的全部。

I've often preferred a more descriptive tag like FIXME or TODO or HACK. XXX is often used as a catch all for the above.

在是许多用途的一个很好的例子。有成千上万...

Searching for 'XXX' on the FreeBSD code cross reference is a good example of many of the uses. There are thousands...

这篇关于代码注释中的#XXX是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 13:45