摘要: 看源代码刚学到的,当属性的set块中还有其它调用或较复杂的操作时,不要重复设置对象的属性。道理很简单啊,还是贴段代码吧,代码演示的是怎样做是否重复的判断而不是重现上面描述的情景.Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--classEntryPoi... 阅读全文
posted @ 2005-09-11 00:38 sinlight23 阅读(984) 评论(5) 推荐(0) 编辑