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


当前回答

这个我在Python 2.5的“twisted”包中找到的(文件是tcp.py在第371行)

# Limit length of buffer to try to send, because some OSes are too
# stupid to do so themselves (ahem windows)
return self.socket.send(buffer(data, 0, self.SEND_LIMIT))

其他回答

if(m_measures =/*=*/ --index)
{
    ....
REM Don't delete this print statement ****** will die

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

'""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
'
'  NOTE: DON'T SCREW WITH THIS CODE UNLESS YOU REALLY UNDERSTAND IT!
'
'""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Catch (Exception e) {
 //who cares?
} 

我刚刚注意到自己在写这个

// not brilliant solution, but fair enough heh.