版上的马工马婆,有遇到多年前写的比较复杂的程序自己看不懂的情况吗? 对于很复杂的逻辑,除了在code 上写comment, 还有什么好的做笔记的办法,方便以后回看? 谢谢大家 vangoc 发表于 2022-12-07 17:55
I wrote an email (with some technical analysis) years ago. Recently I pulled it out and totally did not understand what I was talking about. teamwork 发表于 2022-12-07 18:29
有时候我看之前的程序 就会感慨:我草,我好聪明 哈哈哈哈 wantU 发表于 2022-12-08 13:47
看自己过去写的文章难道不会瑟瑟发抖? yolandos 发表于 2022-12-08 13:10
对于很复杂的逻辑,除了在code 上写comment, 还有什么好的做笔记的办法,方便以后回看?
谢谢大家
I wrote an email (with some technical analysis) years ago. Recently I pulled it out and totally did not understand what I was talking about.
所以要加comment。。。 我一般comment 是code 的好几倍长,这样才能保证以后能看懂。。。
😂😂 Same! 不过我是写成文档。
因为以前没事干,脑子里只想着写程序。
看自己过去写的文章难道不会瑟瑟发抖?
就会感慨:我草,我好聪明
哈哈哈哈
😄。 你不是一个人。我这次是return client . 看了下我几年前给他们做的东西,也是这个感觉。
当然一开始真的有种看天书的感觉(去生了几次孩子后,我全忘了😄). 还好文档君还在。
最烦有人问几年前自己发的文章细节