摘要: 最近看了一下《essential skills for agile development》边看边做点笔记。先看看下面这个类: [代码]代码中两个成员函数getCustomerName和deleteRental中,for循环代码重复,试想一下,BookRental类中,rentals为Vector类型,如果将它改为数组,就必须所有包含rentals.size()改为rentals.length.重... 阅读全文
posted @ 2010-12-03 19:41 Jayce AuYeung 阅读(273) 评论(0) 推荐(0) 编辑