注释是一些对你,或者对代码阅读者说的一些话,告诉你这段代码,是干什么的,对不对?
It's words to you, or to the reader of the code, that are telling you what's going on inside of this code. OK?
土耳其作家、诺贝尔文学奖(Nobel)得主奥尔罕•帕慕克经常会把小说的第一句话写上50或者100遍。
Turkish novelist and Nobel laureate Orhan Pamuk often rewrites the first line of his novels 50 or 100 times.
你有什么话要对我们说吗,我的朋友,或者你想要什么?
Have you anything to say to us, my friend, or what do you want?
It's words to you, or to the reader of the code, that are telling you what's going on inside of this code. OK?
注释是一些对你,或者对代码阅读者说的一些话,告诉你这段代码,是干什么的,对不对?
应用推荐