你遇到过的源代码中最好的注释是什么?


当前回答

// if i ever see this again i'm going to start bringing guns to work

其他回答

在某些汇编程序中,在包含&h723的行末尾

' RIP LVB

(明白吗?)

// TODO: Implement this function!
struct core_unlocker
{
    core_unlocker(lock)
    {
        m_lock = lock
        unlock(lock)  //Abandon All Locks, Ye Who Enter Core!
    }
    ~core_unlocker()
    {
        lock(m_lock)
    }  
    private:
    Corelock m_lock;
}

大概30页的xslt的中间部分

<!-- Here be dragons  -->
REM Don't delete this print statement ****** will die

所讨论的流程是一些遗留代码中的服务