且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

帮助或建议以提高性能 - sharepoint

更新时间:2023-11-15 13:09:40

就我个人而言,我会把它全部扔掉然后重新开始,但如果要保留它,请将代码分解成小块并将它们放入方法中以便开始。读取所有意大利面条代码(特别是在加载事件中)是痛苦的。我想你***重新开始。
Personally I'd throw it all away and start again but if you are going to keep it, break the code down into little chunks and put them in methods for a start. It's painful reading all that spaghetti code ( especially in a load event ). I think you will be better off starting afresh.