《重构既有代码》PPT课件
- 坏味道 - public int discount( int price ){ if( price > 1000) { price -= 20; …….. }