摘要
通过八皇后问题的解的分析,讨论了面向过程的解决方案和面向对象解决方案的不同,比较了面向过程设计思想和面向对象设计思想的区别和联系,提出程序设计教学要从面向过程逐步过渡到面向对象,片面强调一面而忽视另一面都是不可取的.
By analyzing the question of the eight-queen puzzle, this paper discusses the different solutions between procedure-oriented and object-oriented, compares their relation and difference. The paper also proposes programming design teaching, which needs natural transition from procedure-oriented to object-oriented, and it is not desirable to emphasize one side and ignore another one.
出处
《常熟理工学院学报》
2012年第4期120-124,共5页
Journal of Changshu Institute of Technology
关键词
八皇后
面向过程
面向对象
对象
解决方案
eight queens
procedure-oriented
object-oriented
object
solution